Notice
Recent Posts
Recent Comments
Link
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- typescript
- javascript
- ํ๊ณ ๋ก
- react
- nextjs
- ๊ฐ๋ฐ์
- ํฐ์คํ ๋ฆฌ
- ๊ฐ๋ฐ๋ธ๋ก๊ทธ
- backend
- frontend
Archives
- Today
- Total
๋ชฉ๋กโจ๏ธ Web Front-End/CSS (1)
๐ My name is Ez : ์ฝ๋ค ์ฌ์ ๊ฐ๋ฐlife

๊ธ์์ผ์ ํ๋ก์ ํธ ๊ธฐ๋ณธ ๊ตฌ์กฐ์ ์ฌ์ฉํ๋ ์คํ์ ๋ํ ์ค๋ช ์ ๋ฃ๊ณ css๊ด๋ จ๋ ๋ถ๋ถ์์๋ ํ ๋ฒ๋ ์จ๋ณธ ์ ์๋ ๋ฐฉ๋ฒ์ผ๋ก ์ฌ์ฉํ๋ค๊ณ ํด์ ๋ธ๋ก๊ทธ ํผ๋๋ฅผ ์์ฑํ๊ฒ ๋๋ค. CSS์ ์ฉํ๋ ๋ฐฉ๋ฒ ์ค ์ค๋์ CSS-in-JS ๊ด๋ จ๋ ๋ถ๋ถ์ด๋ค. CSS-in-JS์์ ๋ด๊ฐ ์๋ ๋ฐฉ๋ฒ์ styled-component๋ฅผ ์ฌ์ฉํ๋ ๋ฐฉ๋ฒ์ด๋ค. ( ์ปดํฌ๋ํธ๋ณ css๋ฅผ ์์ฑํด์ ๊ด๋ฆฌํ๋ ๋ฐฉ์) styled-jsxs styled-jsxs๋ nextjs ๊ณต์๋ฌธ์์์๋ ๊ธฐ๋ณธ์ ์ผ๋ก ํฌํจํ๊ณ ์๋ ๋ฐฉ๋ฒ์ด๋ผ๊ณ ํ๋ค. 'use client'; import classNames from 'classnames'; import { useRouter } from 'next/navigation'; import css from 'styled-jsx/cs..
โจ๏ธ Web Front-End/CSS
2023. 7. 30. 19:05