<input type="password" class="form__input password" placeholder="๋น๋ฐ๋ฒํธ">
์ปค์คํ ์ ํ์ํ css
input {
width: 100%;
height: 52px;
padding: 14px 16px;
border-radius: 8px;
border: 1px solid var(--reed-gray100);
}
input:focus {
outline: 1px solid var(--reed-gray300);
}
input::placeholder {
color: var(--reed-gray300);
}
input:focus > ์ธํ ๋ฐ์ค๋ฅผ ํด๋ฆญํ๊ณ ๋๋ฉด ๋์ค๋ ์์๋ผ์ธ ํจ๊ณผ
input::placeholder > ํด๋ฆญ์ ๋์ค๋ ๊ธฐ๋ณธ ๋ฌธ๊ตฌ color ๋ณ๊ฒฝ
'HTML๐จ > html&css ํผ์์' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
css form input type="file" ์ฒจ๋ถํ์ผ์ฌ๋ฆฌ๊ธฐ (0) | 2022.10.10 |
---|---|
css text area ๊ณ ์ ๋ด์ฉ์ ๋ ฅ (placeholder ์ค๋ฐ๊ฟํ๊ทธ ) (0) | 2022.10.10 |
css ์ด๋ฉ์ผ select option๋ฐ์ค ๋ง๋ค๊ธฐ (0) | 2022.10.10 |
css form input type="text" readonly ๋ฌธ์ํ๊ธฐ ๋ง๋ค๊ธฐ (0) | 2022.10.10 |
css radio ๋ง๋ค๊ธฐ (0) | 2022.10.10 |
๋๊ธ