Questions tagged as 'css3'

1
answer

foreach using css3

So I have a div with 3 imagens <div class="pai"> <img src="1.jpg" /> <img src="2.jpg" /> <img src="3.jpg" /> </div> I would like these 3 images to run from right to left in order until they...
asked by 08.02.2017 / 12:56
3
answers

How to leave the OPTIONS list of a SELECT with transparent background?

My form has the inputs with placeholder in white and background transparent, to make everything uniform I need to put the select field in the same style; background transparent and font white, however if I use; sel...
asked by 19.01.2017 / 14:49
1
answer

Why use container inside navbar's in Bootstrap?

I was learning to use Bootstrap's Navbar, and a question came to me. All the examples I found of using navbar, have just after the same a container. It's more or less like this: <div class="navbar navbar-default"> <div class="contai...
asked by 17.05.2016 / 05:03
1
answer

How to set amount of box with flex

If I use display:flex in a ul>li structure, all items will be squeezed in a single line. I would like to know if it is possible to determine the limit per line, such as three for example .. I can do with float:left , bu...
asked by 24.01.2016 / 19:22
2
answers

How to "get rid" of the vertical space between divs?

I would like to leave every piece of my website stuck to each other, each in a different color. But I can not get rid of the whitespace that remain between the divs. I have already tried to remove the code space and apply font-size: 0 (tips I sa...
asked by 09.03.2016 / 00:51
1
answer

move from JQuery to CSS3

Any way to do this in CSS3? if(window.innerWidth <= 1000) { var ecra = window.innerWidth; $(".topo").css("height",ecra*0.293); } I tried @media screen and (min-width: 0px) and (max-width:1000px) { .topo { height: calc(device-...
asked by 18.10.2016 / 15:14
1
answer

How to transform (cut) only one side of the element with css?

I need to do a background like this of the image, I could do both sides using transform: skew() , but I need to do only the right side as in the image! Thanks for the help !! MineissoIneedtoleaveitasintheimageabove. codeIusedtodo:<d...
asked by 02.12.2015 / 18:08
3
answers

Enlarge an image by clicking on it (HTML5 and CSS3)?

I'm having a problem, on smartphone the hover of css3 is not recognized (or rather, it takes about 5 seconds to be recognized), and I wanted to make an interactivity with the photos in my app, as I can not use the hover I'm I do not know what to...
asked by 20.05.2015 / 19:06
2
answers

Do not load a CSS if IE8

Problem: I would like to not load the CSS if it is IE8 For all other browsers I want to load CSS I thought about doing <!--[if IE 8]> (deixar vazio) and put for each type of browser the CSS Webkit, Gecko, but I think it is not t...
asked by 06.04.2015 / 17:07
2
answers

CSS content property generating an image

I was looking at a class of a Wordpress template and saw that it created an image of a facebook logo using CSS content with a string of characters. The snippet that generates the image is as follows: .cmsms-icon-facebook-circled-1:before {...
asked by 21.04.2015 / 22:06