Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/38.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 手机上的隐藏按钮_Html_Css_Mobile_Hide_Information Hiding - Fatal编程技术网

Html 手机上的隐藏按钮

Html 手机上的隐藏按钮,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

这是我的网站:

有没有办法隐藏手机上的按钮?我想为移动设备编码不同的按钮。这是我对按钮的编码

HTML


问候=)

您可以使用手机上的媒体查询隐藏按钮

@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;
  }
}