Quick CSS variable setup
October 6, 2022
Here is an example CSS code snippet to setup CSS variables. Expand as you wish.
Instead of showing the whole text paragraph from the post entry, here is how you can limit the character count. Select the text class container/wrapper and apply this CSS snippet.
.class-name {
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}