当前第2页 返回上一页
1 2 | <!--html代码-->
<input class = "but" type = "button" value = "确认" />
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | <!--css代码-->
<style type= "text/css" >
.but{
border: 0px groove orange;
box-shadow: 5px 6px 10px #000;
margin-left: 160px;
border-radius: 10px;
background: #034c92;
color: white;
width: 250px;
height: 40px;
font-size: 20px;
}
.but:hover{
box-shadow: 8px 10px 10px #000;
background: #005DF9;
}
</style>
|
【推荐学习:css视频教程】
以上就是css怎么给button设置阴影的详细内容,更多文章请关注木庄网络博客!
返回前面的内容
相关阅读 >>
css怎么设置span的宽度
css实现背景图片拉伸填充
css三种样式表写法是什么
css命名规范是什么
css如何解决不同浏览器下文本兼容的问题
css语法错误有哪些
css如何设置图片不重复拉伸
css段落间距怎么设置
深入浅析css text-emphasis属性,看看它的用法!
eclipse css中文乱码怎么办
更多相关阅读请进入《css》频道 >>
人民邮电出版社
本书对 Vue.js 3 技术细节的分析非常可靠,对于需要深入理解 Vue.js 3 的用户会有很大的帮助。——尤雨溪,Vue.js作者
转载请注明出处:木庄网络博客 » css怎么给button设置阴影