테스트 사이트 - 개발 중인 베타 버전입니다

Line Height 라인 높이

· 8년 전 · 1989

Line Height 라인 높이

 

이 line-height속성은 줄 사이의 간격을 지정하는 데 사용됩니다.

 

Example

p.small {

    line-height: 0.8;

}

 

p.big {

    line-height: 1.8;

}

 

 

 

<!DOCTYPE html>

<html>

<head>

<style>

p.small {

    line-height: 0.7;

}

 

p.big {

    line-height: 1.8;

}

</style>

</head>

<body>

 

<p>

This is a paragraph with a standard line-height.<br>

The default line height in most browsers is about 110% to 120%.<br>

</p>

 

<p class="small">

This is a paragraph with a smaller line-height.<br>

This is a paragraph with a smaller line-height.<br>

</p>

 

<p class="big">

This is a paragraph with a bigger line-height.<br>

This is a paragraph with a bigger line-height.<br>

</p>

 

</body>

</html>





댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기

게시글 목록

번호 제목
2982
2981
2980
2979
2978
2977
2976
2975
2974
2973
2972
2971
2970
2969
2968
2967
2966
2965
2964
2963
2962
2961
2960
2959
2958
2957
2956
2955
2954
2953