I'm using the following background css in a menu:
background: -webkit-linear-gradient(left, #0260a9, #444); /* For Safari 5.1 to 6.0 */
background: -o-linear-gradient(left, #0260a9, #444); /* For Opera 11.1 to 12.0 */
background: -moz-linear-g...
I'm trying to make sure I can have several types of placeholder based on a defined class like this:
.red,
.red::-webkit-input-placeholder,
.red:-moz-placeholder,
.red::-moz-placeholder,
.red:-ms-input-placeholder{
color:red
}
The proble...
I was looking at the use of variables in CSS, as below, simple thing, so far so good. Then I saw that I could incorporate 'functions', but I only saw it using libs like lesscss and sass .
Is it possible to define a function in CSS - like th...
Hello, I'm finishing developing an app, I put the images with 450px wide, thinking that it would work, because currently all devices have at least 480x800 resolution, when compiling I went to test on the smartphone with this resolution and the im...
I want to use an image in the header of the site, it is small and I would like to repeat it horizontally throughout the header using CSS.
The HTML is as follows:
<body>
<header>
<div id="cabecalho">
<img src...
I have an input using an example CPF mask:
$("#cpfDependente").mask('000.000.000-00');
and I'm trying to set a value in the input this way
$("#cpfDependente").val(dependente.cpf);
It correctly directs the problem is that the masca...
Good afternoon everyone, I put media query css3 to run on a fixed-width site, but it does not work. Only works on responsive sites?
link
@media only screen and (max-width: 959px) {
.tit-h2{margin-left:2px!important;}
#rodape{
width: 104%;...
I am looking for an information I am behind an effect whose name I do not know I am trying to search the internet but I do not know the name is very difficult and I do not have a reference so I will explain what is more or less would be this:...
The CSS3 has gained so many utilities that previously were only possible with programming, for example: Media queries, fb, keyframe, transition etc ...
So what are the advantages, disadvantages and when should I use?