[기본문법 14] CSS in JavaScript part Two
Click me! body { background-color: beige; } h1 { color: cornflowerblue; transition:color .5s ease-in-out; } .active { color: tomato; } .sexy-font{ font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; } // event const h1 = document.querySelector("div.hello:first-child h1"); function handleTitleClick()..
2023. 2. 14.