Advertisement
Guest User

Untitled

a guest
Sep 18th, 2019
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. /*style.css*/
  2.  
  3. body {
  4. font-family: 'Courier New', Courier, monospace;
  5. }
  6.  
  7. /* English : Replace the dots below by a selector targeting all the images of the page. */
  8. /* Français : Remplace les points ci-dessous par un sélecteur ciblant toutes les images de la page. */
  9. /* English : Replace with a property that makes the image borders look rounded. */
  10. /* Français : Remplace par une propriété arrondissant les angles de l'image. */
  11.  
  12. section img {
  13. width: 300px;
  14. height: 300px;
  15. border-radius: 20px;
  16. }
  17.  
  18. /* English : Replace the dots below by a class named "hover-effect" with a :hover pseudo-class. This class has to target the first image and the last image of the page. */
  19. /* Français : Remplace les points ci-dessous par une classe "hover-effect" avec une pseudo-classe :hover. Cette classe doit cibler la première image et la troisième image de la page. */
  20. /* English : Replace with a property responsible for opacity changes. */
  21. /* Français : Remplace par une propriété modifiant l'opacité. */
  22.  
  23. .opacity : hover {
  24. opacity: 0,8;
  25. cursor: pointer;
  26. }
  27.  
  28.  
  29. /* English : Replace the dots below by a selector targeting the second image of the page. Do not use a class or an id! */
  30. /* Français : Remplace les points ci-dessous par un sélecteur ciblant la seconde image de la page. N'utilise pas de classe ou d'id ! */
  31. /* English : Replace with a property that makes the image look black & white. */
  32. /* Français : Remplace par une propriété faisant paraître l'image en noir et blanc. */
  33.  
  34.  
  35. section: last-child {
  36. grayscale (100%);
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement