美文网首页
style边框样式

style边框样式

作者: Gorden_x | 来源:发表于2017-08-16 16:05 被阅读0次

1.<style>
.thick-green-border {
border-color: green; //边框颜色
border-width: 10px; //边框宽度
border-style: solid; //固定样式的一种
border-radius: 50%; //边框半圆样式可用px和百分比
}
.smaller-image {
width: 100px; //图片宽度
}
</style>
<img class="thick-green-border" "smaller-image"
src=" ">

相关文章

网友评论

      本文标题:style边框样式

      本文链接:https://www.haomeiwen.com/subject/ttwirxtx.html