1、
例子:
div{
width:256px;
height:256px;
border: 10px inset #f00;
margin:0 auto;
border-radius:255px;
}
inset 与outset
inset 就是border框内嵌效果
而outset相应的就是外凸效果
2、border-radius
给DIV添加圆角
1、
例子:
div{
width:256px;
height:256px;
border: 10px inset #f00;
margin:0 auto;
border-radius:255px;
}
inset 与outset
inset 就是border框内嵌效果
而outset相应的就是外凸效果
2、border-radius
给DIV添加圆角
转载于:https://www.cnblogs.com/michellexiaoqi/p/7136648.html