Questions tagged as 'css'

2
answers

How to put color over the image when mouseover?

Put color over the image when mouseover? Normal image: Imagewithoverlappingblackcolor: How do you do this?     
asked by 03.09.2017 / 13:48
2
answers

What does "" mean in CSS selectors? [duplicate]

Galera, I came across this CSS of a free project that I downloaded from the web. .user-panel>.image>img {} What does this "nested" notation represent? Why "img" does not have the period (.)?
asked by 19.08.2017 / 15:58
1
answer

How do I make the height of my div fit the size of my text?

When I insert my text it goes beyond my div. Please help me.     
asked by 16.09.2017 / 17:07
1
answer

How do I do when hovering over a particular div, another element appears?

My goal is to have an invisible div, and when you hover over this invisible div, make another div appear? example: <div class="invisivel"></div> <div class=visivel"> Olá </div>     
asked by 13.09.2017 / 16:39
2
answers

Main differences between structuring CSS with PHP and LESS / SASS

In many projects I have been writing CSS with PHP , which is a practice that is very unknown but that attends to all the dynamization needs, for example ... CSS <?php header("Content-type: text/css"); $cor_fundo = "#999";...
asked by 12.09.2017 / 15:59
1
answer

How to hide the iframe scroll bar?

Why is this command not working? I wanted the scroll bar to disappear. I already used width: 0px; instead of display: none; but it did not work either. <!DOCTYPE html> <html lang="pt-br"> <read> <meta cha...
asked by 18.09.2017 / 08:17
1
answer

Use of CSS background-image and background-color

I'm studying HTML and CSS through Caelum's handout and I'm having trouble making CSS work correctly on the page. I have the following CSS code: body { color: #333333; font-family: "Lucida Sans Unicode", "Lucida Grande", sans serif;...
asked by 28.10.2017 / 02:02
3
answers

Hide a div

I have two divs and I want one to disappear when I get to 'md' and another to occupy the 12 columns. How can I do this with Bootstrap? <div class="container"> <div class="col"> Essa desaparece quando chegar em md </div&g...
asked by 04.04.2018 / 19:24
2
answers

Defining the color of a div in rgb

I'm doing a div, where clicking it turns orange, and clicking again, it goes back to white. But I have two questions: When comparing the color with rgb in part if(document.getElementById('homem').style.backgroundColor == 'rgb(#FF6600)...
asked by 16.10.2017 / 14:08
1
answer

Change opacity gradually with scroll

I want to apply opacity to the footer of my site, the footer is fixed in bottom and behind the rest of the site type parallax effect. But I can not seem to get the opacity to stay gradually, as soon as I scroll down the scroll bar,...
asked by 10.10.2017 / 22:18