Questions tagged as 'css'

3
answers

Center menu on page

I am trying to align the menu that I have centrally, but the attempts I made were frustrated and my knowledge in css is little, I tried to make it change here: #topNav ul.nav>li.mega-menu { position: unset; } The css code is...
asked by 07.06.2018 / 20:49
1
answer

Change CSS value according to Scroll

I need to, when I scroll the page, apply css to div, for example: When the user arrives in the middle of the site, or in the desired section, apply a CSS from this point to a div , as it scrolls down the page, it changes the value of th...
asked by 20.12.2017 / 20:26
2
answers

Div to organize checkbox

I have the following div : <div class="col-sm-6"> <input type="checkbox"> Touch Screen <input type="checkbox"> Wi-fi <input type="checkbox"> Bluetooth <input type="checkbox"> Flash <input type="...
asked by 02.03.2015 / 12:03
1
answer

Select Checkbox and maintain CSS styling

Dear, I have styled my checkbox, but I wish I could select more than one option, keeping the CSS style I created. Only because of my CSS rule, you are only selecting for the first item . @import url(//netdna.bootstrapcdn.com/font-awesome/3...
asked by 07.12.2017 / 13:13
2
answers

Return div to start position after animation?

How can I do to return my div to the starting position if it reaches a certain point on the left? I have the following current code: $(document).ready(function() { $("#botao").click(function() { $(".maior").animate(...
asked by 17.06.2014 / 19:18
2
answers

Creating a diagonal div

Well, I'm having doubts about creating a div, with two elements, separated by a diagonal line, according to the image below, how can I create it? The text should stay straight The Skew property, as directed by some users, does not wo...
asked by 18.09.2017 / 20:37
1
answer

How to make a horizontal list of images that will not break?

I want to make a list of images horizontally, but they are falling, look: My CSS: #fotos{ margin-top:30px; width:650px; overflow-x: hidden; height:110px; border:1px solid #CCC; } #fotos ul li{ margin-right:4px;...
asked by 10.05.2014 / 02:01
2
answers

Text input text box on the right

In a box that the text is aligned to the right, how do I do that when I focus on the text box independent of the place the writing cursor goes right? I want that when I click on an input of type text where a decimal value is inserted the cour...
asked by 14.02.2014 / 13:20
2
answers

How to make the container reach the footer? (even with low content)

I have a layout here, where the container background is transparent black, and it goes to the bottom of the page. but it has another problem, where it is written "Sitemap", it is a menu that slides up, and that container has that behind it,...
asked by 11.02.2014 / 13:13
1
answer

Conflict margin in css

Well I have 2 classes being: 1 - container that receives some information 2 - top_menu that receives the menu. I can not explain how this happens, but whenever I put a div with class container the menu creates a margin at...
asked by 24.05.2017 / 19:30