Questions tagged as 'css'

3
answers

same div with different colors

How can I make a DIV change its color in the next instance of it? TwointwoIcangeneratethiseffect:     
asked by 29.07.2016 / 15:35
5
answers

Remove the space between two divs

I have this code but I wanted the divs to be one underneath the other but they have a space that I tried to remove in several ways, but nothing happens. <html> <head> <meta http-equiv="Content-Type" content="text/html; chars...
asked by 08.01.2018 / 19:52
2
answers

Do I really need to put the html element before the class in CSS?

I do not know if this applies to everyone, but the only element I'm interested in is <div> . For example: div.classe1 { /*...*/ } .clase1 { /*...*/ } What's the difference between the two examples? I can do the same things with...
asked by 20.08.2018 / 22:34
2
answers

What is the difference between span and class?

While studying XHTML, I understood that <span> is an element in line. The class will be a block element. But when to use one and the other? Beyond them, when to use some elements knowing that there are other similar ones....
asked by 23.07.2014 / 17:11
3
answers

Why CSS properties change in browsers [duplicate]

Why do I need to use different properties depending on the browser? For example: FIREFOX -moz-column-width:150px; OTHER -webkit-column-width:150px; There are many other cases, but what I want to know is why it is not simply "c...
asked by 14.02.2014 / 15:02
3
answers

Does anyone know how I make this effect in the background of this div?

Hello, I would like to know how I make this effect similar to that of this image, with the shadow and squares Can anyone tell me?     
asked by 28.02.2018 / 23:55
3
answers

Dynamic background with respect to div

I am doing an exercise which is necessary to create a website for an advertising agency. I did everything right but I'm having a lot of difficulty with a feature. I want that when passing the mouse on a <article> with an id chan...
asked by 02.06.2018 / 23:50
2
answers

How to reduce space between bullet and text in a centralized ul?

I have a centralized list. <ul style="text-align: center; list-style-position: inside;"> <li>abc</li> <li>xyz</li> </ul> The point is that the bullet is too far from the text. I w...
asked by 24.03.2017 / 16:05
1
answer

How do you fit these elements together? [duplicate]

IwouldliketoknowhowIcanfittheseelements,Iwouldlikeitwhenthetopandbottomonescomerightbelow.HowcanIdothis?Here'sthehtml:<?php$postagens=timeline($conexao);foreach($postagensas$time):?><divclass="margem-topo-20 sombra-suave" id="timelin...
asked by 25.10.2017 / 23:34
1
answer

Animate inverted one-button "close"

I'm developing an animate with JS and CSS, which when clicking the button, the element does bounceOutLeft and Right , and thus shows hidden content. The animation is working, however, like making a "close" button, and when you cli...
asked by 08.04.2014 / 16:00