[英]How do you get rid of the right and left sides of a border without getting rid of the top and bottom sides?
"How do you get rid of the right and left sides of a border without getting rid of the top and bottom sides?" “如何摆脱边框的左右两侧而又不摆脱上下边缘?” ^Title says it all.
^标题说明了一切。
border: none;
border-bottom, border-top: 1px solid black;
or whatever thickness and color you want. 或您想要的任何厚度和颜色。
or the other way round: 或反过来:
border-left, border-right: none;
Use the following format where you specify all property values: 指定所有属性值时,请使用以下格式:
.dom {
border-width:10px 0px 10px 0px;
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.