網頁設計元素隱藏或顯示在行動版或電腦版裝置
Show and Hide Different Content On Mobile Devices & Desktops

 

Css class 參考

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