0
嗨,提前提醒我想在手機上隱藏div ID &創建最小屏幕尺寸。任何小於997px的寬度都是我想要隱藏div id的地方。在屏幕上隱藏div ID
我的CSS
@media only screen and (min-device-width : 997px) {
#DIV_1 { display:none; }
}
#DIV_1 {
box-sizing: border-box;
color: rgb(51, 51, 51);
cursor: default;
height: auto;
position: relative;
width: 222px;
perspective-origin: 111px 279.5px;
transform-origin: 111px 279.5px;
border: 0px none rgb(51, 51, 51);
font: normal normal normal normal 16px/16px Arial, Helvetica, sans-serif;
margin: 0px 0px 30px;
outline: rgb(51, 51, 51) none 0px;
}/*#DIV_1*/
這裏是鏈接 https://www.superherodigital.com/services/graphic-design/
灰色的邊欄是DIV_1
我的救命恩人!謝謝! – 2014-10-19 20:40:06
@nick_Carlos不客氣。請將我的答案標記爲正確答案,以便用戶可以知道您的查詢已得到答覆。謝謝。 – 2014-10-19 20:41:30