Questions tagged as 'css'

1
answer

Help with the use of JS delay or setTimeout

I'm trying to create a loop function that keeps switching between 2 divs. But the result is that when the function restarts, I can not get it to wait again for the 5 second interval of the toggle, causing a wrong visual result. Follow the fun...
asked by 09.09.2017 / 03:14
2
answers

Put border-bottom inline table with css

With I have the following CSS that places a border on every row of the table. .tab_dados tr { height: 50px; border-bottom: 1px solid #D5D5D5; } Is there any way to do that, so I put the border on all rows, less on the first TR ?...
asked by 24.08.2017 / 17:57
2
answers

Catch the children of an object

I'm trying to add and remove classes only to the div that has the hover, but I can not because I have 4 divs with the class .image. This is the same for all divs. Here is the code: $(document).ready(function() { $('.image').hover(funct...
asked by 03.08.2016 / 14:10
2
answers

Change CSS color

Good afternoon, I have a question like what I can do to change the color of a div by moving the mouse in another one for example: I have two div with the name of the first div of 1 and the second div with the name of 2 are both give black col...
asked by 20.07.2016 / 20:02
4
answers

Change button text color when clicking

I would like to know how to change the text color of the button writing when I click on it, I want it to click on the button and it will turn out golden and stay white until I click it again, but what I managed so far is that it only change colo...
asked by 12.11.2015 / 18:17
2
answers

Fixed form goes over the menu

I have an application where I have a normal menu at the top of the page, and just below it a form, where this form has to be fixed, in a way that when I scroll the page down, that form is at the top of the page , and the rest of the page runs be...
asked by 24.11.2015 / 12:42
2
answers

Is there a difference between using inline CSS or IDs for a large number of different elements?

In the page I'm doing I'm using a Spritesheet with more than 50 different images, however all are in the same .png file and I need to pass the position where each element is in that background. Seeing a lot of elements with unique styles, what...
asked by 22.10.2015 / 04:18
2
answers

How to correct these styles to get around the reported error?

I am modifying inputs checkbox by hiding them and calling labels to receive the checked function. How can you see in FIDDLE and also in the codes shown below, when clicking ascending order, the effect is assigned to...
asked by 02.01.2016 / 04:44
2
answers

Clicking elements below a div?

An example I can give: .noturno{ z-index: 9000; position: fixed; height: 100%; width: 100%; background-color: rgba(0,0,0,0.5); } <div class="noturno"> </div> <div class="corpo"> <button>...
asked by 07.01.2016 / 13:37
5
answers

Doubt with image placement

I have an image for the logo, I want it to always be positioned in the center of the screen for all the devices. I'm using the bootstrap . CSS .relative{ position: relative; left: 40px; } HTML <div class="relative"&g...
asked by 28.12.2015 / 18:30