Partage de codes sources - CodesWall.info
CSS
> Utilisation de linear-gradient
Titre
Utilisation de linear-gradient
Postée le
17-04-2012
Affichée
532
Mini-lien
Description
Normalement çca marche avec ça. Attention c'est du css3
Etat
Ne contient pas d'erreurs.
Code d'insertion
Options
Tweet
Téléchargement
.maDiv
{
filter
:
progid
:DXImageTransform
.Microsoft
.gradient
(
startColorstr
=
'#000000'
,
endColorstr
=
'#ffffff'
)
;
/* IE6,IE7 */
-ms-filter
:
"progid:DXImageTransform.Microsoft.gradient(startColorstr='#000000', endColorstr='#ffffff')"
;
/* IE8+ */
background-image
:
-ms-linear-gradient
(
top
,
#000000
,
#ffffff
)
;
/* IE10+ */
background-image
:
-webkit-gradient
(
linear
,
left
bottom
,
left
top
,
color-stop
(
0
,
#000000
)
,
color-stop
(
1
,
#ffffff
)
)
;
/* Safari 4+, Chrome 2+ */
background-image
:
-webkit-linear-gradient
(
top
,
#000000
,
#ffffff
)
;
/* Safari 5.1+, Chrome 10+ */
background-image
:
-moz-linear-gradient
(
top
,
#000000
,
#ffffff
)
;
/* FF3.6 */
background-image
:
-o-linear-gradient
(
top
,
#000000
,
#ffffff
)
;
/* Opera 11.1+ */
background-image
:
linear-gradient
(
top
,
#000000
,
#ffffff
)
;
}
Postez votre code-source
Informations
Catégorie *
-
ActionScript3
ASP
C
C#.Net
C++
COBOL
CSS
Delphi
Fichier .ini
HTML4
HTML5
Java
javascript
jQuery
Latex
MatLab
mIRC
MySQL
Objective-C
OCaml
pascal
Perl
Php
Python
QBasic
Ruby
Script Batch
Shell
SmallTalk
VB.Net
VBA
Visual Basic
XML
Autre
Titre *
(50 car. max)
Description *
(200 car. max)
Le code
Fonctionne
Ne fonctionne pas
Je ne sais pas
Source
* : Champs obligatoires
Fermer
Accueil
Poster
Actualités
Règles
Contact
Partenaires
Infos / Aide
ActionScript3
(1)
ASP
(0)
C
(70)
C#.Net
(5)
C++
(52)
COBOL
(0)
CSS
(21)
Delphi
(0)
Fichier .ini
(5)
HTML4
(16)
HTML5
(4)
Java
(51)
javascript
(37)
jQuery
(2)
Latex
(7)
MatLab
(3)
mIRC
(3)
MySQL
(13)
Objective-C
(1)
OCaml
(4)
pascal
(11)
Perl
(11)
Php
(61)
Python
(4)
QBasic
(1)
Ruby
(1)
Script Batch
(8)
Shell
(10)
SmallTalk
(1)
VB.Net
(5)
VBA
(5)
Visual Basic
(6)
XML
(18)
Autre
(19)
\n
Forum informatique