• Images #1

    Pour avoir des images comme celles-ci (une image transparente mais en couleurs quand on passe sa souris dessus (et avec une bordure en couleur)) :

    Images #1

    Je crédit Lune Blanche....

    Il nous faut ce code CSS :

    img -moz-transitionopacity 1s linear 0s;
    -webkit-transitionopacity 1s linear 0s;
    transitionopacity 1s linear 0s;
    opacity0.35;
    }

    img:hover {
    -moz-transitionopacity 1s linear 0s;
    -webkit-transitionopacity 1s linear 0s;
    transitionopacity 1s linear 0s;
    opacity10;
    }
    .module_contenu img {max-width:500px;height:auto;}
    .module_contenu img border-radius:30px 30px 30px 30px;}
    .module_contenu img {
       border3px solid #7ca4ac;
       box-shadow0px 0px 20px #7ca4ac;
      }
    #content img:hover{
      opacity1;
      -webkit-box-shadow0px 0p

    15px #7ca4ac;
      box-shadow0px 0px 50px #7ca4ac;
      }
     #content img {  -webkit-border-radius00px;
      border-radius00px;
      -webkit-transition0.4s linear;
      transition0.4s linear;
    }

    Voilà, j'espère que vous pourriez l'utiliser...


  • Commentaires

    1
    Jeudi 24 Mars 2022 à 12:14

    Thank you for this code. Very clever. I like cats

    2
    Mercredi 13 Juillet 2022 à 14:06

    Oh mrc Lueur ! Sa marche trop bien sur mon blog! happy

    Suivre le flux RSS des commentaires


    Ajouter un commentaire

    Nom / Pseudo :

    E-mail (facultatif) :

    Site Web (facultatif) :

    Commentaire :