<css>
div.centered {
text-align: center;
letter-spacing: 10px;
</css>
'<div>' 카테고리의 다른 글
(div) 태그 나란히 배열하는 방법 (0) | 2022.11.16 |
---|---|
(div)활용 bottom정렬하는 방법 및 CSS로 폰트배경컬러 적용 (0) | 2022.11.15 |
<css>
div.centered {
text-align: center;
letter-spacing: 10px;
</css>
(div) 태그 나란히 배열하는 방법 (0) | 2022.11.16 |
---|---|
(div)활용 bottom정렬하는 방법 및 CSS로 폰트배경컬러 적용 (0) | 2022.11.15 |
<div style="display: inline-block">
A영역
</div>
<div style="display: inline-block">
B영역
</div>
(div) 안에서 2개의 버튼 가운데 정렬 및 간격 벌리기 (0) | 2022.11.17 |
---|---|
(div)활용 bottom정렬하는 방법 및 CSS로 폰트배경컬러 적용 (0) | 2022.11.15 |
<head>
<style>
.wrap {
width: 300px
height: 500px
background-image: url(https://www.naver.com)
background-size: cover;
background-position: center;
}
.mytitle {
color: white;
text-align: center;
padding-top: 380px;
opacity: 0.8;
</style>
</head>
<body>
<div class="wrap">
<div class="mytitle">
<p>ID : <input type="text" title="아이디"></p>
<p>PW : <input type="text" title="패스워드"></p>
</div>
</div>
<body>
(div) 안에서 2개의 버튼 가운데 정렬 및 간격 벌리기 (0) | 2022.11.17 |
---|---|
(div) 태그 나란히 배열하는 방법 (0) | 2022.11.16 |