欢迎访问 生活随笔!

生活随笔

当前位置: 首页 >

input 没显示 html,html - 为什么我的input type =“submit”没有显示?

发布时间:2024/9/27 54 豆豆
生活随笔 收集整理的这篇文章主要介绍了 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”没有显示?的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。