Questions tagged as 'css'

3
answers

SASS and SCSS: why use them instead of conventional CSS?

I often hear about SASS and SCSS, but I do not know exactly how these tools work. I just know they are CSS generators (?). I found a related question here but it does not address the question of why it uses them, just the syntax differenc...
asked by 30.04.2018 / 17:53
5
answers

Vertically center a form

I have the following screen and can not vertically center this form below on the screen. I set it to position: absolute; and add top:20% and it does not move! Followmyhtml:<header><divclass="local"> <img src=...
asked by 13.03.2014 / 06:22
2
answers

Link href to id div

I know that we can make links by directing click href to an id of the page using # . #content1, #content2, #content3, #content4 { height: 50vh; border: 1px solid red; } <a href="#content1"> CONTEUDO 1</a>...
asked by 13.09.2018 / 15:11
2
answers

How to stylize the p tag differently?

But I can not stylize it to look like the image below. How do I do it? Will it be another tag ? Itriedthisway: p.acessorapido{ float: left; width: 100%; height: 38px; max-width: 885px; margin-top:...
asked by 20.06.2017 / 16:15
2
answers

Serve libraries with CDN or own server?

For performance purposes it is more performative to use a CDN (which provides the full and primary version of the library) or distribute versions of Custom Libraries (ex: jQuery UI which provides only the accordion effect). I...
asked by 28.05.2015 / 15:57
2
answers

-ms-flexbox and flexbox do not work in Internet Explorer

I'm having trouble identifying what I should do to fix this error - I recently used CSS Progress Wizard , it works perfectly in google chrome and other browsers: ButwhenIlookatinternetexplorer9,ithassomeerrors: Here is the code for CSS...
asked by 17.06.2015 / 17:49
3
answers

Overlay image with a DIV

How do I put a DIV on an image > ? HTML<divid="main-banner"> <img src="images/wall.jpg" /> <div id="main-banner-content"></div> </div> CSS #main-banner { padding: 0; width: 1000px; height:...
asked by 09.12.2014 / 06:14
3
answers

What is the equivalent of the average CSS queries in Javascript?

When I want to apply a certain style to the size of the screen, I usually use the CSS media queries. Example: @media only screen and (max-width : 768px) { .container { width:960px; } } I would like to know if there is an...
asked by 06.11.2017 / 16:10
2
answers

How to hide one element after a certain time?

So, I have a div that appears every time I submit a form, I wanted to know how I can fade this div after some time.     
asked by 08.01.2017 / 00:05
1
answer

CSS - Selector "::"

In studies of CSS selectors, we have seen the :: selector at some point. But I did not find specific reference on this keyword :: isolated. That is, I just saw it being applied in selectors mostly related to pseudo-elements.   ...
asked by 29.04.2017 / 21:16