html – 用速记写边框!

我在对象上使用边框.
喜欢

.Box{
    border-left:solid 1px #000;
    border-right:solid 1px #000;
    border-bottom:solid 1px #000;
    width:50px;
    height:50px;
}

我可以用速记写这个吗?

解决方法

这只保存一行:

border: 1px solid #000;
border-top: 0;

相关文章

vue阻止冒泡事件 阻止点击事件的执行 <div @click=&a...
尝试过使用网友说的API接口获取 找到的都是失效了 暂时就使用...
后台我拿的数据是这样的格式: [ {id:1 , parentId: 0, name:...
JAVA下载文件防重复点击,防止多次下载请求,Cookie方式快速简...
Mip是什么意思以及作用有哪些