input 没显示 html,html - 为什么我的input type =“submit”没有显示?
Closed. This question is off-topic. It is not currently accepting answers. Learn more。
想改進這個問題嗎?Update the question所以堆棧溢出的值小于aa>。
兩年前關閉。
我想在標題上加一個按鈕,但它沒有顯示出來,我想它在div下面。為什么?我試圖改變絕對位置,但沒什么用。
.large-header {
position: relative;
width: 100%;
background: #333;
overflow: hidden;
background-size: cover;
background-position: center center;
z-index: 1;
}
.demo-1 .large-header {
background-image: url('../img/demo-1-bg.jpg');
}
.main-title {
position: absolute;
margin: 0;
padding: 0;
color: #f9f1e9;
text-align: center;
top: 50%;
left: 50%;
-webkit-transform: translate3d(-50%,-50%,0);
transform: translate3d(-50%,-50%,0);
}
.homebtn {
position:absolute;
-webkit-border-radius: 4;
-moz-border-radius: 4;
border-radius: 4px;
font-family: Arial;
color: #ffffff;
font-size: 41px;
background: #f0712c;
padding: 10px 20px 10px 20px;
text-decoration: none;
}
.homebtn:hover {
background: #f25e0e;
text-decoration: none;
}
最佳答案
您定義了一個樣式,但它是一個類。
代替
通過
總結
以上是生活随笔為你收集整理的input 没显示 html,html - 为什么我的input type =“submit”没有显示?的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: mysql 走索引 很慢_MySQL优化
- 下一篇: jmeter+mysql+set_jme