문제

Just a short question

Is there a shorter way of writing this code so that all 3 are covered in one rule?

border-left: 2px solid #006699; border-right: 2px solid #006699; border-bottom: 2px solid #006699;

도움이 되었습니까?

해결책

You would use the border shorthand and then set border-top to none. (example here)

border: 2px solid #006699;
border-top: none;
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top