How do i make two classes in one element?

body { background-color: black; font-family: Monospace; color: green; } .pink-text { color: pink; } .blue-text { color: blue; }

Hello World!

Simply put them in sequence in the tag’s class.

<h1 class="class1 class2 another-class">Content</h1>

Just an extra: The sequence of the classes you set in a tag can cause different styling, so be mindful of that. :slight_smile:

sweet! thanks :grinning: