# Classes for elements

**URL:** https://community.weweb.io/t/classes-for-elements/15251
**Category:** How do I?
**Created:** [January 7, 2025, 1:44pm UTC](https://community.weweb.io/t/classes-for-elements/15251 "2025-01-07T13:44:07Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Matt](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/matt/32/13947_2.png) [@Matt](https://community.weweb.io/u/Matt)
#### Post date: [January 7, 2025, 1:44pm UTC](https://community.weweb.io/t/classes-for-elements/15251/1 "2025-01-07T13:44:07Z")

</div>

Classes for elements…  
For a uniform design across my entire app, I’m looking into using classes assigned to each element.  
I notice, especially for the ‘Select’ element, that I have to assign:

- A class to the select,
- A class to the text (used as placeholder and in the options).

This means that when I add my ‘select’ element to a page, I have to:

- Click on the select and assign the “select-standard” class
- Click on the placeholder and assign the “text-14px” class
- Click on each option and assign the “text-14px” class

Isn’t there a faster way? 🤔

- Perhaps adding one class to the entire select so it automatically applies to all elements inside, to avoid multiple clicks?
- Or defining a default class for an element? For example, so that whenever I add a ‘select’, it automatically has the ‘select-standard’ class by default?  
 ![Screen Shot 2025-01-07 at 2.27.50 PM](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/9/9763b92395c734c20bb5a20d25fd5c3105700b2a.png)
