就像简谱一样的那种。css上划线的那种,容易出现很多点或横线,并不适用
ringa_lee
The number that needs to be added is a separate element, and then used before or after pseudo-elements to achieve it.
<span>5</span> <style> span { position: relative; font-weight: 800; font-size: 6rem; } span::before { position: absolute; content: ''; top: -0.5rem; left: 50%; margin-left: -0.5rem; width: 1rem; height: 1rem; border-radius: 0.5rem; background-color: #000; } </style>
To make it simple, just use pictures and then match them to display. There will be no compatibility issues
The number that needs to be added is a separate element, and then used before or after pseudo-elements to achieve it.
To make it simple, just use pictures and then match them to display. There will be no compatibility issues