Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" /> <style> // show it on devices with max of 767 px and lower @media (max-width: 767px) { .hidden-mobile { display: none; } } </style> </head> <body> <h1>Hi</h1> <p>There is some text for example.</p> <p class="hidden-mobile">This text will be shown on large devices.</p> <p>There is some text for example.</p> </body> </html>