CSS Selector / :where(), :is()
:where()
:where()button:focus,
button:hover,
button:active {
background: blue;
}
/* ์๋์ ๊ฐ์ด ๊ฐ๊ฒฐํ๊ฒ ์์ฑ ๊ฐ๋ฅ */
button:where(:focus, :hover, :active) {
background: blue;
}button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
appearance: none;
cursor: pointer;
margin: 0;
border: none;
border-radius: 1em;
padding: 0.5em 1em;
color: white;
font-weight: bold;
background: royalblue;
}
/* ์๋์ ๊ฐ์ด ์ฌ๋ฌ ์์์ ๋์ผํ ์คํ์ผ ์ ์ฉ ๊ฐ๋ฅ */
:where(button, input[type="button"], input[type="reset"], input[type="submit"]) {
appearance: none;
cursor: pointer;
margin: 0;
border: none;
border-radius: 1em;
padding: 0.5em 1em;
color: white;
font-weight: bold;
background: royalblue;
}:is() ์ฐจ์ด์
:is() ์ฐจ์ด์ Last updated