CSS/CSS 기초
::before / ::after content에 특수문자 코드로 쓰기
알찬 퍼블리셔
2022. 8. 10. 09:11
728x90
반응형
선택자::after {
content: '\코드'
}
작은따옴표안에 \와 함께 코드를 써준다.
사용가능한 코드는 하단 링크 확인
https://www.w3schools.com/cssref/css_entities.asp
CSS Entities
W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.
www.w3schools.com
728x90
반응형