# I feel stupid - styling html elements within a class

**URL:** <https://community.weweb.io/t/i-feel-stupid-styling-html-elements-within-a-class/9848>\
**Category:** How do I?\
**Tags:** design\
**Created:** [July 20, 2024, 9:39pm UTC](https://community.weweb.io/t/i-feel-stupid-styling-html-elements-within-a-class/9848 "2024-07-20T21:39:16Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![jptrinh](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/jptrinh/32/1493_2.png) [@jptrinh](https://community.weweb.io/u/jptrinh)\
**Post date:** [July 29, 2024, 5:58am UTC](https://community.weweb.io/t/i-feel-stupid-styling-html-elements-within-a-class/9848/6 "2024-07-29T05:58:41Z")

</div>

You’ll need to create a new class for the hover state.  
So your element will have a class for its default state, and another one applied for the hover state.  
You can organize your classes with folders so that it’s easier to look for them 🙂  
Having said that, the way that it works _might_ change for a more standarized behavior! Will let you know when it’s more defined on our end!

---

_[View the full topic](https://community.weweb.io/t/i-feel-stupid-styling-html-elements-within-a-class/9848)._
