Do not display the specified element content on small screens

Original link: https://yf-ch.com/archives/1985.html

5522112.png

Write the code in the custom CSS behind the scenes:

 @media screen and (max-width: 768px) { .smallscreen{ display:none; } }

Then add “smallscreen” to the class where you don’t want to move the segment:

This article is reproduced from: https://yf-ch.com/archives/1985.html
This site is for inclusion only, and the copyright belongs to the original author.