Questions tagged as 'css'

5
answers

How to align a footer element at the bottom of the page?

I have a page where there is a div with multiple contents inside, which change according to the user's desire. Below is another div which is the Footer. If I put a position: relative , the footer will adjust its position a...
asked by 31.08.2014 / 23:44
4
answers

How to increase the space between text and underline in CSS?

When we are using text-decoration: underline we have an underscore applied to it. But my question is this: Is it possible to change the distance between the text and the underline? If yes, do you have any direct CSS property that we...
asked by 01.10.2018 / 19:55
3
answers

Remove margin with jquery

On a given page, when I open, I need to remove margin from class content to stay as I want. CSS: .three-columns .content { margin: 20px 250px 0 250px; } .content { margin: 20px 0 0 250px; } I'm trying to go through...
asked by 13.02.2014 / 15:43
3
answers

How to let embed YouTube responsive on the site, when I open I want Width to appear 100%

I already have several embed on my website however I do not want to go there and change 1 to 1. what I want is a code to change all Iframes , with 100% width and height adjust responsively. .conteudo{ background-color:#f1f1f1;...
asked by 16.10.2017 / 16:55
2
answers

View div on hover

How to display a div, which will have a summary about the movie (text), and a button for (VIEW MORE) when hovering over an image. Example: <a href="#">IMAGEM</a> When you hover over this link, a div appears to the right with...
asked by 17.02.2014 / 10:36
2
answers

Apply opacity only in the background

I have a div and text written inside it. .topoMenuSegmentos { width: 470px; height: 190px; background-color: #0a1737; display: block; margin-top: -2px; } I want to apply a opacity:0.8 , what happens is that the text inside that div al...
asked by 19.11.2014 / 16:29
1
answer

How to remove Input buttons type="number"

How to remove the two buttons of Input type="number" in HTML5? Example: <p>Quero que isso:</p> <input type="number"> <p>Vire isso porém sem usar o text, pois preciso do comportamento do number:</p> <in...
asked by 04.08.2017 / 15:55
2
answers

What to do so that when the user hover over an image, it widens a bit? (preferably using only HTML and CSS)

I wanted that when the user hovered over a certain image, the image widened a little, and that's all.     
asked by 06.10.2017 / 17:57
2
answers

Does the unit of measurement "on" change in each device?

When I put the unit "1em" in a font-size for a desktop for example, it will be 15px by default already in the browser. But the "in" is worth a smaller size for a mobile device for example, right?     
asked by 20.07.2017 / 22:45
4
answers

How to change the color of a select when selecting an option

I have a select and I am trying to change the color of it when selecting an option (for example I'm changing the color to red ). Using some attributes like hover , focus , active and checked I can even do what I w...
asked by 24.01.2017 / 14:05