Skip to content

Instantly share code, notes, and snippets.

@ys-qb
Last active January 19, 2024 02:59
Show Gist options
  • Save ys-qb/9a9812e474c7aa4bc23ae9e3bbdd1446 to your computer and use it in GitHub Desktop.
Save ys-qb/9a9812e474c7aa4bc23ae9e3bbdd1446 to your computer and use it in GitHub Desktop.
h1, h2 {
text-align: center;
}
/* ① 항, 1.호 */
ol > li:nth-child(1)::marker { content: '① '; }
ol > li:nth-child(2)::marker { content: '② '; }
ol > li:nth-child(3)::marker { content: '③ '; }
ol > li:nth-child(4)::marker { content: '④ '; }
ol > li:nth-child(5)::marker { content: '⑤ '; }
ol > li:nth-child(6)::marker { content: '⑥ '; }
ol > li:nth-child(7)::marker { content: '⑦ '; }
ol > li:nth-child(8)::marker { content: '⑧ '; }
ol > li:nth-child(9)::marker { content: '⑨ '; }
ol > li:nth-child(10)::marker { content: '⑩ '; }
ol > li:nth-child(11)::marker { content: '⑪ '; }
ol > li:nth-child(12)::marker { content: '⑫ '; }
ol > li:nth-child(13)::marker { content: '⑬ '; }
ol > li:nth-child(14)::marker { content: '⑭ '; }
ol ol > li:nth-child(1)::marker { content: '1. '; }
ol ol > li:nth-child(2)::marker { content: '2. '; }
ol ol > li:nth-child(3)::marker { content: '3. '; }
ol ol > li:nth-child(4)::marker { content: '4. '; }
ol ol > li:nth-child(5)::marker { content: '5. '; }
ol ol > li:nth-child(6)::marker { content: '6. '; }
ol ol > li:nth-child(7)::marker { content: '7. '; }
ol ol > li:nth-child(8)::marker { content: '8. '; }
ol ol > li:nth-child(9)::marker { content: '9. '; }
ol ol > li:nth-child(10)::marker { content: '10. '; }
ol ol > li:nth-child(11)::marker { content: '11. '; }
ol ol > li:nth-child(12)::marker { content: '12. '; }
ol ol > li:nth-child(13)::marker { content: '13. '; }
ol ol > li:nth-child(14)::marker { content: '14. '; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment