
.dotted {
border-style: none;
}

.dotted {
border-style: solid;
}

.dotted {
border-style: dotted;
}

.dotted {
border-style: dashed;
}

.dotted {
border-style: double;
}

.dotted {
border-style: groove;
}

.dotted {
border-style: ridge;
}

.dotted {
border-style: inset;
}

.dotted {
border-style: outset;
}

.dotted {
border-style: hidden;
}

border-width 속성은 테두리(border)의 두께를 설정한다. px, em, cm 등과 같은 CSS 크기 단위를 이용하여 두께를 직접 설정할 수 있다.
미리 설정해 놓은 예약어인 thin, medium, thick을 사용하여 설정할 수도 있다.
.thin {
border-style: solid;
border-width: thin;
}

.medium {
border-style: solid;
border-width: medium;
}

.thick {
border-style: solid;
border-width: thick;
}

.two {
border-style: solid;
border-width: 2px;
}
.ten {
border-style: solid;
border-width: 10px;
}

border-color 속성은 테두리(border)의 색상을 설정한다. 기본적인 color 속성값들뿐만 아니라 투명한 선을 나타내는 transparent 속성값을 사용할 수도 있다.
border-color 속성값이 설정되지 않으면 해당 요소의 color 속성값을 그대로 물려받는다.
.red {
border-color: red;
}
.green {
border-color: rgb(0, 255, 0);
}
.blue {
border-color: #0000FF;
}
.mix {
border-color: red green blue maroon;
}
.color {
color: teal;
}

/* 아래 2개의 코드는 같은 결과가 나온다. */
.div.mix {
border-style: dotted dashed solid double;
}
.div.mix {
border-top-style: dotted;
border-right-style: dashed;
border-bottom-style: solid;
border-left-style: double;
}
/* 아래 2개의 코드는 같은 결과가 나온다. */
.div.mix {
border-style: dotted dashed solid;
}
.div.mix {
border-top-style: dotted;
border-right-style: dashed;
border-bottom-style: solid;
border-left-style: dashed;
}
/* 아래 2개의 코드는 같은 결과가 나온다. */
.div.mix {
border-style: dotted dashed;
}
.div.mix {
border-top-style: dotted;
border-right-style: dashed;
border-bottom-style: dotted;
border-left-style: dashed;
}
/* 아래 2개의 코드는 같은 결과가 나온다. */
.div.mix {
border-style: dotted;
}
.div.mix {
border-top-style: dotted;
border-right-style: dotted;
border-bottom-style: dotted;
border-left-style: dotted;
}
.good {
border: 3px solid teal;
}
.wrong {
border: 5px teal;
}
