<分区>
我如何制作一个带有退出框外观的小按钮(链接)? 这是我的代码:
.info {
width: 100%;
background-color: #3498db;
padding: 10px;
color: #fff;
}
.info a {
color: #fff;
border: 2px solid #fff;
height: 16px;
width: 16px;
text-decoration: none;
font-weight: bold;
}
和 html:
<div class="info">
This page is just at the building phase! It doesn't work all Features yet!
<a href="hide">x</a>
</div>
但看起来自己..可怕:link
我怎样才能让它变得漂亮?
最佳答案
也许:
width:20px;
height 10px;
border: 1px solid #fff;
color: white;
padding-left: 10px;
padding-top: 4px;
font-size: 16px;
line-height: 0px;
工作?
关于html - CSS退出框怎么来的?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20599118/