Filtre shadow.()

Impossible de trouver des informations à propos du filtre shadow.().

Information (14/02/2010)

J'avais réalisé cette page le 27/02/2003, dans la fougue de la découverte des possibilités du Web. Je laisse donc ces pages à titre d'information, mais avec le recul je ne suis pas du tout convaincu, car les différents filtres présentés ici ne sont valables que pour le navigateur Internet Explorer.

Exemple de syntaxe

  1. <img src="graphique.gif" style="FILTER: GLOW(color=blue, strength=4)">

Après les deux points suit l'appel au filtre par son nom et ses paramètres séparés par des virgules. Le tout entre parenthèses.
Si un filtre ne demande aucun paramètre, les parenthèses sont tout de même présentes (comme pour un appel de fonction).

Nous pouvons combiner plusieurs filtres pour un même élément, comme le montre l'exemple suivant.

  1. <img src="graphique.gif" style="filter:Blur(strength=50) FlipH();">

Table des matières Haut

Balises HTML sur lesquelles nous pouvons appliquer les filtres

BaliseApplication
BaliseApplication
bodyla totalité de la page affichée
buttonla surface pouvant être cliquée
divle passage en relation avec les mentions de feuilles de style width: et/ou height: et/ou position:
imgle graphique référencé
inputle champ de saisie
marqueele texte déroulant
spanle passage en relation avec les mentions de feuilles de style width: et/ou height: et/ou position:
tablele tableau
tdla cellule de données d'un tableau
textareale champ de saisie à plusieurs lignes
tfootle pied d'un tableau
thla rangée d'entête d'un tableau
theadl'entête d'un tableau
trla rangée d'un tableau

Exemples d'utilisation de filtres

Les exemples changent à chaque chargement de la page. Si vous désirez d'autres exemples, vous pouvez recharger la page.

Exemple avec Alpha()

  1. <!DOCTYPE html PUBLIC
  2. "-//W3C//DTD XHTML 1.0 Strict//EN"
  3. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  4. <head>
  5. <title>filter:0()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Author" lang="fr" content="Appleton Edward">
  8. <meta name="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Copyright" content="Wilbur Wright">
  10. <meta http-equiv="content-language" content="fr">
  11. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  12.  
  13. body {
  14. margin: 2px;
  15. padding: 14px;
  16. font-family: verdana;
  17. font-size: 16px;
  18. min-width: 753px;
  19. }
  20. </style>
  21.  
  22. </head>
  23.  
  24. <body bgcolor="#FFFFFF" text="#000000">
  25. <img
  26. style="filter:Alpha(opacity=39, finishopacity=0, style=3);"
  27. src="0Filter.jpg"
  28. align="center"
  29. width="92"
  30. height="88"
  31. alt="Alpha
  32. appliqu&eacute; &agrave; une image">
  33. <span style="width: 100%; filter:Alpha(opacity=39, finishopacity=0, style=3);">
  34. Alpha
  35. appliqu&eacute; &agrave; du texte
  36. </span>
  37. </body>
  38. </html>

Table des matières Haut

Exemple avec Blur()

  1. <head>
  2. <title>filter:1()</title>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <meta http-equiv="pragma" content="no-cache">
  5. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  6. <meta name="Publisher" content="Zeiss">
  7. <meta name="Copyright" content="Carl Zeiss">
  8. <meta http-equiv="content-language" content="fr">
  9. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  10. </head>
  11. <body>
  12. <h1>Exemple de filtre Blur</h1>
  13. width:100%; padding:5px; font-size:20pt; color:red;
  14. filter:1(direction=225, strength=8)">
  15. Application de Blur(),
  16. texte avec Blur
  17. The quick brown fox jumped over the lazy dog.
  18. The quick brown fox jumped over the lazy dog.
  19. The quick brown fox jumped over the lazy dog.
  20. The quick brown fox jumped over the lazy dog.
  21. </div>
  22. </body>
  23. </html>

Table des matières Haut

Exemple avec Chroma()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:2()</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <meta name="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Reply-to" content="cournot.antoine@infobrol.pro">
  7. <meta http-equiv="content-language" content="fr">
  8. </head>
  9. <body bgcolor="#FFFFFF" text="#000000">
  10. <h1>Exemple de filtre Chroma</h1>
  11. width:100%; padding:17px; font-size:27pt; color:red;
  12. filter:2(color=#8470ff)">
  13. Application de Chroma(),
  14. texte avec Chroma
  15. The quick brown fox jumped over the lazy dog.
  16. The quick brown fox jumped over the lazy dog.
  17. The quick brown fox jumped over the lazy dog.
  18. The quick brown fox jumped over the lazy dog.
  19. </div>
  20. </body>
  21. </html>

Table des matières Haut

Exemple avec DropShadow()

  1. <head>
  2. <title>filter:3()</title>
  3. <meta http-equiv="pragma" content="no-cache">
  4. <meta name="Description" content="Utilisation des filtres, Demo">
  5. <meta name="Publisher" content="Wirth">
  6. <meta name="Copyright" content="Niklaus Wirth">
  7. <meta http-equiv="content-language" content="fr">
  8. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  9.  
  10. body {
  11. margin: 2px;
  12. padding: 14px;
  13. font-family: verdana;
  14. font-size: 16px;
  15. min-width: 753px;
  16. }
  17. </style>
  18.  
  19. </head>
  20.  
  21. <body bgcolor="#FFFFFF" text="#000000">
  22. <h1>Exemple de filtre DropShadow</h1>
  23. width:100%; padding:14px; font-size:18pt; color:red;
  24. filter:3(offx=3, offy=4)">
  25. Application de DropShadow(),
  26. texte avec DropShadow
  27. The quick brown fox jumped over the lazy dog.
  28. The quick brown fox jumped over the lazy dog.
  29. The quick brown fox jumped over the lazy dog.
  30. The quick brown fox jumped over the lazy dog.
  31. </div>
  32. </body>
  33. </html>

Table des matières Haut

Exemple avec FlipH()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
  4. <head>
  5. <title>filter:4()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  9. <meta name="Reply-to" content="lequier.jules@infobrol.biz">
  10. <meta http-equiv="content-language" content="fr">
  11. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  12. <body bgcolor="#FFFFFF" text="#000000">
  13. <img
  14. style="filter:FlipH();"
  15. src="4Filter.jpg"
  16. align="center"
  17. width="100"
  18. height="99"
  19. alt="FlipH
  20. appliqu&eacute; &agrave; une image">
  21. <span style="width: 100%; filter:FlipH();">
  22. FlipH
  23. appliqu&eacute; &agrave; du texte
  24. </span>
  25. </body>
  26. </html>

Table des matières Haut

Exemple avec FlipV()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
  4. <head>
  5. <title>filter:5()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Reply-to" content="hersch.jeanne@infobrol.int">
  8. <meta name="Publisher" content="Hersch">
  9. <meta name="Copyright" content="Jeanne Hersch">
  10. <meta http-equiv="content-language" content="fr">
  11. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  12. <body bgcolor="#FFFFFF" text="#000000">
  13. <img
  14. style="filter:FlipV();"
  15. src="5Filter.jpg"
  16. align="center"
  17. width="87"
  18. height="96"
  19. alt="FlipV
  20. appliqu&eacute; &agrave; une image">
  21. <span style="width: 100%; filter:FlipV();">
  22. FlipV
  23. appliqu&eacute; &agrave; du texte
  24. </span>
  25. </body>
  26. </html>

Table des matières Haut

Exemple avec Glow()

  1. <head>
  2. <title>filter:6()</title>
  3. <meta name="Reply-to" content="fourier.joseph@gmail.com">
  4. <meta name="Copyright" content="Joseph Fourier">
  5. <meta http-equiv="content-language" content="fr">
  6. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  7.  
  8. body {
  9. margin: 2px;
  10. padding: 14px;
  11. font-family: verdana;
  12. font-size: 16px;
  13. min-width: 753px;
  14. }
  15. </style>
  16.  
  17. </head>
  18.  
  19. <body bgcolor="#FFFFFF" text="#000000">
  20. width:100%;
  21. padding:20px;
  22. font-size:39pt;
  23. color:blue;
  24. filter:Glow(color=#fafad2)">
  25. Exemples d'utilisation de filtres</p>
  26. </div>
  27.  
  28. <br />
  29. <br />
  30.  
  31. <tr valign="top">
  32. <td width="22%" height="218">
  33. The quick brown fox jumped over the lazy dog.
  34. The quick brown fox jumped over the lazy dog.
  35. The quick brown fox jumped over the lazy dog.
  36. </td>
  37. <td width="21%">
  38. &nbsp;
  39. </td>
  40. <td width="57%">
  41. The quick brown fox jumped over the lazy dog.
  42. The quick brown fox jumped over the lazy dog.
  43. The quick brown fox jumped over the lazy dog.
  44. The quick brown fox jumped over the lazy dog.
  45. The quick brown fox jumped over the lazy dog.
  46. </td>
  47. </tr>
  48. </table>
  49.  
  50. </body>
  51. </html>

Table des matières Haut

Exemple avec Gray()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
  4. <head>
  5. <title>filter:7()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta http-equiv="pragma" content="no-cache">
  8. <meta name="Reply-to" content="weizenbaum.joseph@infobrol.biz">
  9. <meta name="Publisher" content="Weizenbaum">
  10. <meta http-equiv="content-language" content="fr">
  11. </head>
  12. <body>
  13. <img
  14. style="filter:Gray();"
  15. src="7Filter.jpg"
  16. align="center"
  17. width="83"
  18. height="115"
  19. alt="Gray
  20. appliqu&eacute; &agrave; une image">
  21. <span style="width: 100%; filter:Gray();">
  22. Gray
  23. appliqu&eacute; &agrave; du texte
  24. </span>
  25. </body>
  26. </html>

Table des matières Haut

Exemple avec Invert()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:8()</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <meta http-equiv="pragma" content="no-cache">
  6. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  7. <meta name="Reply-to" content="demolinari.gustave@gmail.com">
  8. <meta name="Copyright" content="Gustave de Molinari">
  9. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  10. </head>
  11. <body>
  12. <form>
  13. <textarea id="test_textarea"
  14. style="filter:Invert();"
  15. rows="2"
  16. cols="7">
  17. The quick brown fox jumped over the lazy dog.
  18. type="button"
  19. name="btn1"
  20. value="Test"
  21. style="filter:Invert();" />
  22. </form>
  23. </body>
  24. </html>

Table des matières Haut

Exemple avec Mask()

  1. <head>
  2. <title>filter:9()</title>
  3. <meta http-equiv="pragma" content="no-cache">
  4. <meta name="Reply-to" content="torvalds.linus@infobrol.tk">
  5. <meta name="Publisher" content="Torvalds">
  6. <meta name="Copyright" content="Linus Torvalds">
  7. <meta http-equiv="content-language" content="fr">
  8. </head>
  9. <body bgcolor="#FFFFFF" text="#000000">
  10. <h1>Exemple de filtre Mask</h1>
  11. width:100%; padding:5px; font-size:48pt; color:red;
  12. filter:9(color=#fafad2)">
  13. Application de Mask(),
  14. texte avec Mask
  15. The quick brown fox jumped over the lazy dog.
  16. The quick brown fox jumped over the lazy dog.
  17. The quick brown fox jumped over the lazy dog.
  18. The quick brown fox jumped over the lazy dog.
  19. </div>
  20. </body>
  21. </html>

Table des matières Haut

Exemple avec Shadow()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
  3. <head>
  4. <title>filter:10()</title>
  5. <meta http-equiv="pragma" content="no-cache">
  6. <meta name="Reply-to" content="carl@zeiss.info">
  7. <meta name="Publisher" content="Zeiss">
  8. <meta name="Copyright" content="Carl Zeiss">
  9. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  10.  
  11. body {
  12. margin: 4px;
  13. padding: 9px;
  14. font-family: verdana;
  15. font-size: 13px;
  16. min-width: 608px;
  17. background:#FFFFFF;
  18. color:#000000;
  19. }
  20. </style>
  21.  
  22. </head>
  23.  
  24. <body>
  25. <h1>Exemple de filtre Shadow</h1>
  26. width:100%; padding:5px; font-size:29pt; color:red;
  27. filter:10(color=#fafad2)">
  28. Application de Shadow(),
  29. texte avec Shadow
  30. The quick brown fox jumped over the lazy dog.
  31. The quick brown fox jumped over the lazy dog.
  32. The quick brown fox jumped over the lazy dog.
  33. The quick brown fox jumped over the lazy dog.
  34. </div>
  35. </body>
  36. </html>

Table des matières Haut

Exemple avec Wave()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
  4. <head>
  5. <title>filter:11()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta http-equiv="pragma" content="no-cache">
  8. <meta name="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Reply-to" content="newton.isaac@infobrol.biz">
  10. <meta name="Copyright" content="Isaac Newton">
  11. <meta http-equiv="content-language" content="fr">
  12. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  13. </head>
  14. <body>
  15. <form>
  16. <textarea id="test_textarea"
  17. style="filter:Wave(freq=22, light=60, phase=86, strength=5);"
  18. rows="17"
  19. cols="7">
  20. The quick brown fox jumped over the lazy dog.
  21. type="button"
  22. name="btn1"
  23. value="Test"
  24. style="filter:Wave(freq=22, light=60, phase=86, strength=5);" />
  25. </form>
  26. </body>
  27. </html>

Table des matières Haut

Exemple avec XRay()

  1. <head>
  2. <title>filter:12()</title>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <meta http-equiv="pragma" content="no-cache">
  5. <meta name="Reply-to" content="frank@gray.net">
  6. </head>
  7. <body>
  8. <img
  9. style="filter:XRay();"
  10. src="12Filter.jpg"
  11. align="center"
  12. width="118"
  13. height="104"
  14. alt="XRay
  15. appliqu&eacute; &agrave; une image">
  16. <span style="width: 100%; filter:XRay();">
  17. XRay
  18. appliqu&eacute; &agrave; du texte
  19. </span>
  20. </body>
  21. </html>

Table des matières Haut

Liste de filtres

#NomEffet
#NomEffet
0Alpha()effet de fusion de l'avant-plan et l'arrière-plan
1Blur()effet d'estompe
2Chroma()effet de couleur transparente
3DropShadow()effet d'ombrage
4FlipH()effet de symétrie sur axe horizontal
5FlipV()effet de symétrie sur axe vertical
6Glow()effet de bords flambants
7Gray()effet de nuances de gris
8Invert()effet d'inversion
9Mask()effet de masque transparent
10Shadow()effet d'ombres
11Wave()effet d'ondulation
12XRay()effet négatif photo

Afficher tous les filtres avec exemples.

Document créé le 27/02/2003, dernière modification le 26/10/2018
Source du document imprimé : https://www.gaudry.be/html-filtres-rf-wave.html/html-filtres-rf-shadow.html/

L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.

Références

  1. Consulter le document html Langue du document :fr Filtres : selfhtml (version 13/02/10)

Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.

Table des matières Haut