Questions tagged as 'css'

1
answer

What are the max-content and min-content width values?

Recently I came across these two values for width of an element, however I did not understand how to use them and what they are for ... This is what the Mozilla documentation says, but I did not understand: max-content Th...
asked by 04.12.2018 / 12:13
1
answer

Problem in changing background color

Even adding body{background-color:#CCCACC;} to CSS the background is still white. @import url(//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css); @import url(https://fonts.googleapis.com/css?family=Roboto...
asked by 14.11.2018 / 01:35
3
answers

How to configure a dynamic-dimension div delimited by other div's?

I'm looking for a way to have a layout that meets the behavior below: The big question here is to make the central div delimit to the ends of the other div's, so that they do not overlap with that. By making an allusion to the Desktop...
asked by 20.01.2016 / 18:55
2
answers

How to add a horizontal scroll in CSS?

Like, for example, the Netflix website when movies are rolling horizontally.     
asked by 16.02.2015 / 22:20
1
answer

Input informative, how to do?

Good afternoon everyone! I'm doing an informative form with the Bootstrap Framework, where in some fields an information bubble should appear on the field (type
asked by 30.01.2015 / 17:04
3
answers

Center a div within another div 100%

I have a div that is 100% and has a background image. .bannerTotalHome { background: url("../imagens/bannerTotalHome.jpg") no-repeat center; width: 100%; height: 570px; margin: 0 auto; } And inside there will be anoth...
asked by 05.02.2015 / 17:55
1
answer

Force two elements to always occupy the same space

How do two elements always occupy the same space, regardless of browser and screen size? I used transform translateX but when testing on my cell phone it did not work, here I put -18px , in my application I had to put -45px...
asked by 16.09.2018 / 03:31
2
answers

Position menu on image with CSS

How to leave the menu fixed and about the background of image? <hearder> <img src="imgs/principal.jpg" alt="estilo"> <nav id="menu"> <ul> <li><a href="#">Home</a></li> <l...
asked by 08.10.2018 / 15:54
3
answers

Element overlapping the other CSS

My site consists of a header and below it a container-fluid with the information on the screen. The problem is that my header is overlapping part of my container-fluid: Myhtml:<h3class="card-header primary-color white-text">Monitoramen...
asked by 02.10.2018 / 13:43
4
answers

media does not work

Hello, I'm trying to make the background of a section with a color on the mobile and with an image on the desktop but it does not work. I'll send the code and the print how it is. Apparently it looks right, but it does not work at all. Could...
asked by 29.08.2018 / 19:31