Exécuter
❯
Exécuter le code
Ctrl+Alt+R
Enregistrer le code
Ctrl+Alt+A
Changer d'orientation
Ctrl+Alt+O
Changer de thème
Ctrl+Alt+D
<!DOCTYPE html> <html> <head> <style> #img1 { filtre: drop-shadow(8px 8px 10px gray); } #img2 { filtre: drop-shadow(10px 10px 7px lightblue); } </style> </head> <body> <h1>La fonction drop-shadow()</h1> <p>drop-shadow(8px 8px 10px gray):</p> <img id="img1" src="pineapple.jpg" alt="Pineapple" width="300" height="300"> <p>drop-shadow(10px 10px 7px lightblue):</p> <img id="img2" src="pineapple.jpg" alt="Pineapple" width="300" height="300"> <p>Image originale :</p> <img src="pineapple.jpg" alt="Pineapple" width="300" height="300"> </body> </html>