I am struggling to make this work. In my HTML markup i have paragraphs with several sentences. Its only the new paragraphs that begin with a capital letter. But what I want is that multiple sentences begin with a capital first word in the same paragraph.
Is there a way to achieve this without js? i have tried the following mixin:
@mixin sentence-case() {
text-transform: lowercase;
&:first-letter {
text-transform: uppercase;
}
}
and I want to say apply it to a class with paragraphs, and that each sentence in that paragraph also gets to be uppercase.
thanks