Pretty text wrap (thanks css-tips)

This commit is contained in:
daudix
2024-06-11 22:34:20 +03:00
parent c12b8caa76
commit 02fbdda1df
2 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@
} }
html { html {
text-wrap: pretty;
scroll-behavior: smooth; scroll-behavior: smooth;
// scrollbar-color: var(--primary-color) transparent; // scrollbar-color: var(--primary-color) transparent;
accent-color: var(--primary-color); accent-color: var(--primary-color);

View File

@ -5,6 +5,7 @@ h3,
h4, h4,
h5, h5,
h6 { h6 {
text-wrap: balance;
margin: 3rem 0 1rem; margin: 3rem 0 1rem;
font-weight: lighter; font-weight: lighter;
line-height: normal; line-height: normal;