작성자 : 김동일
작성일 : 2015-10-30
css 레퍼런스 설명:
-
outline : 외각선을 정의한다.
-
syntax :
outline: outline-color outline-style outline-width|initial|inherit;outline-color : 외각선 색깔을 정의한다.
outline-style : 외각선 스타일을 정의한다.
outline-width : 외각선 크기를 정의한다.
initial:기본 값으로 set되어 있는 값을 불러온다.
inherit:부모 element에 설정되어 있는 값을 상속 받는다.
sample code :
<!DOCTYPE html>
<html>
<head>
<style>
p {
border: 1px solid red;
outline: green dotted thick;
}
</style>
</head>
<body>
<p><b>Note:</b> IE8 supports the outline properties only if a !DOCTYPE is
specified.</p>
</body>
</html>결과
