<head>
<style>
input::placeholder {
color: yellowgreen;
}
</style>
</head>
<body>
<form>
<input type="text" placeholder="name" />
</form>
</body>
<head>
<style>
p::selection {
color: white;
background-color: yellowgreen;
}
</style>
</head>
<body>
<form>
<p>Life is just one damned thing after another. -Elbert Hubbard</p>
</form>
</body>
I was draged 'one damned thing'.
<head>
<style>
p::first-letter {
font-size: 50px;
background-color: yellowgreen;
color: white;
}
</style>
</head>
<body>
<form>
<p>
When we were children, we used to think that when we were grown-up we would no longer be vulnerable. But to grow up is to accept vulnerability... To be alive is to be vulnerable. -Madeleine L'Engle
</p>
</form>
</body>
or
p::first-line {
font-size: 50px;
background-color: yellowgreen;
color: white;
}
'HTML CSS' 카테고리의 다른 글
KokoaTalk Clone Coding: transitions (0) | 2021.05.05 |
---|---|
KokoaTalk Clone Coding: colors and variables (0) | 2021.05.05 |
KokoaTalk Clone Coding: states 2 (0) | 2021.05.05 |
KokoaTalk Clone Coding: states 1 (0) | 2021.05.05 |
KokoaTalk Clone Coding: pseudo selector 3 (0) | 2021.05.05 |