Questions tagged as 'css'

2
answers

Use "left: -9999px" instead of "display: none"? But why?

I began to wonder about this subject a short time ago. I read in some article, which I can not remember what it is, that by "visibility issue" instead of using display: none or visibility: hidden should be used left: -9999px...
asked by 21.11.2017 / 18:03
3
answers

How to preview a loaded image in a "file" input?

Description: I have an example here of how my system is working. EXAMPLE link HTML <input type=file> <input type=button class=hide value="Adicionar outro"> JAVASCRIPT function verificaMostraBotao(){ $('inp...
asked by 21.02.2014 / 19:53
5
answers

How to use @import in a CSS file?

Within a style.css file I'm using the @import url() option to call another file CSS . For example: @import url("/css/fonts.css") Both the file and the path are correct and even then I can not import this CSS . Wher...
asked by 10.03.2014 / 19:59
2
answers

CSS: color opacity through hexadecimal?

I accidentally put a hexadecimal color with two more digits and I noticed that in Google Chrome this affects the opacity of the color, as well as the rgba() function. More or less like this: body { background-color: #ff0000;...
asked by 22.11.2018 / 20:02
1
answer

How to create a glass pane in JavaScript?

I'm trying to create a " glass pane " in JavaScript, similar to or supported by Java . The goal is to offer a kind of interactive help to the user, where information about each element is superimposed on the screen, and all elements except the...
asked by 15.06.2014 / 08:31
2
answers

What does content mean: "\ f0ed"?

I'm developing a website from a ready template, by inspecting element and checking which image to exchange I found Css as follows. .fa-cloud-download:before { content:"\f0ed" } What does this Css mean? How can I tell w...
asked by 16.07.2015 / 21:17
5
answers

How to use two CSS attributes at the same time?

The code: <!DOCTYPE html> <html> <body> <h1 style="color:#CC0099">Um dia eu aprendo</h1> <p style="color:red">This is a paragraph.</p> </body> </html> Do you see this <h1>...
asked by 05.08.2015 / 21:34
3
answers

Which CSS property prefixes do Edge support?

With Windows 10 Launch , Microsoft just retired from Internet Explorer by changing the default browser to Microsoft Edge . To support CSS properties that have not yet been W3C standard in , browsers implement unique prefixes to support...
asked by 10.08.2015 / 14:12
4
answers

Comments in css with // instead of / * * /

Placing // at the beginning of a line creates an invalid property, ie CSS ignores this line. div { background-color: cyan; // background-color: red; } I know the CSS default is using /* */ , but what is the problem I ca...
asked by 08.01.2015 / 18:26
5
answers

What is the definition of each combination of css Selectors

The .css files that are used follow a pattern: seletor{ atributo: valor } The part of the attributes and values I understand, however in some examples I see these selectors are being separated with ',' or with a '.' on the front or a '#'. A...
asked by 29.09.2016 / 16:45