Home
Basics
Introduction Adding styles Selectors Headings and Text Lists Links Tables Colors Background Box Model Fonts Icons Display Position Overflow Align Images Tool tips FlexAdvanced
Shadows Rounded Corners Units Specificity Responsive design Media Queries Grid Animations Psuedo elements CSS variables and functions SASS and SCSSMiscellaneous
CSS Templates CSS Interview QnAHeadings and Text in CSS
We have below heading tags.- h1
- h2
- h3
- h4
- h5
css for automatic numbering of headings
:root{
counter-reset: autoheadings;
}
h1{
counter-increment:autoheadings;
}
h1::before{
content : counter(autoheadings)
}
Web development and Automation testing
solutions delivered!!