Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Selecting a classless paragraph Re: Selecting a classless paragraph

#122443
jurotek
Participant

@attilahajzer, it is better not to over specify class such as

.text p {your styles}

but use instead generic class like:

.text-something {your styles}

HTML

My text

That way you can reuse that class with other elements if necessary