Html 手机上的隐藏按钮
这是我的网站: 有没有办法隐藏手机上的按钮?我想为移动设备编码不同的按钮。这是我对按钮的编码 HTMLHtml 手机上的隐藏按钮,html,css,mobile,hide,information-hiding,Html,Css,Mobile,Hide,Information Hiding,这是我的网站: 有没有办法隐藏手机上的按钮?我想为移动设备编码不同的按钮。这是我对按钮的编码 HTML 问候=)您可以使用手机上的媒体查询隐藏按钮 @media (max-width: 480px) { .Button1 { display: none; } } 可以找到有关媒体查询和谢谢的更多详细信息。。很简单!:) .Button1 { font-family: Arial; color: #FF0000; font-size: 20px; background: #ff
问候=)您可以使用手机上的媒体查询隐藏按钮
@media (max-width: 480px) {
.Button1 {
display: none;
}
}
可以找到有关媒体查询和谢谢的更多详细信息。。很简单!:)
.Button1 {
font-family: Arial;
color: #FF0000;
font-size: 20px;
background: #ffffff;
padding: 10px 20px 10px 20px;
border: solid #FF0000 2px;
text-decoration: none;
}
.Button1:hover {
background: #FF7A7A;
text-decoration: none;
}
@media (max-width: 480px) {
.Button1 {
display: none;
}
}