Jump to content
Invision Board France
  • 0

Attribuer des width et height sur mobile différents de ceux sur desktop


Bocar

Question

2 answers to this question

Recommended Posts

  • 0

Hello,

 

En s'inspirant de ce qu'on a fait il n'y a pas longtemps

A ajouter dans le fichier custom.css

 

 Non testé par contre 😛

 

/* Mobile */
@media screen and (max-width: 767px) {
  #elLogo img {
    width: xxx;
    height: yyy;
  }
}

/* Desktop */
@media screen and (min-width: 980px) {
  #elLogo img {
    width: xxx;
    height: yyy;
  }
}

 

Edited by cybero
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.