Diferència entre revisions de la pàgina «Css»
De wikiserver
(Es crea la pàgina amb «<source lang="css"> div { height: 100px; width: 100px; border-radius: 100%; background-color: #008800; background-image: -webkit-gradient(linear, 0% 0…».) |
|||
Línia 19: | Línia 19: | ||
background-image: -ms-linear-gradient(left, #330000, #CC0000); | background-image: -ms-linear-gradient(left, #330000, #CC0000); | ||
background-image: -o-linear-gradient(left, #330000, #CC0000); | background-image: -o-linear-gradient(left, #330000, #CC0000); | ||
+ | } | ||
+ | |||
+ | body { | ||
+ | background-image: url('http://bit.ly/UpQgJ6'); | ||
+ | repeat: no-repeat; | ||
} | } | ||
</source> | </source> |
Revisió de 14:06, 28 abr 2016
div {
height: 100px;
width: 100px;
border-radius: 100%;
background-color: #008800;
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#003500), to(#008800));
background-image: -webkit-linear-gradient(left, #003500, #008800);
background-image: -moz-linear-gradient(left, #003500, #008800);
background-image: -ms-linear-gradient(left, #003500, #008800);
background-image: -o-linear-gradient(left, #003500, #008800);
}
.rojo {
background-color: #CC0000;
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#330000), to(#CC0000));
background-image: -webkit-linear-gradient(left, #330000, #CC0000);
background-image: -moz-linear-gradient(left, #330000, #CC0000);
background-image: -ms-linear-gradient(left, #330000, #CC0000);
background-image: -o-linear-gradient(left, #330000, #CC0000);
}
body {
background-image: url('http://bit.ly/UpQgJ6');
repeat: no-repeat;
}