Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <head>
- <!--Onderstaande CSS-code voor het tonen van bepaalde content op mobiel --!>
- <style type="text/css">
- .mobileShow { display: none;}
- /* Smartphone Portrait and Landscape */
- @media only screen
- and (min-device-width : 320px)
- and (max-device-width : 480px){ .mobileShow { display: inline;}}
- </style>
- <!--Onderstaande CSS-code voor het verbergen van bepaalde content op mobiel --!>
- <style type="text/css">
- .mobileHide { display: inline;}
- /* Smartphone Portrait and Landscape */
- @media only screen
- and (min-device-width : 320px)
- and (max-device-width : 480px){ .mobileHide { display: none;}}
- </style>
- <head>
- <body>
- <div class="mobileShow">
- Hier tekst of afbeelding die je alleen op mobiel wilt laten zien.
- </div>
- <div class="mobileHide">
- Hier tekst of afbeeldingen die je niet op mobiel wilt laten zien.
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement