Native class system
Create reusable CSS classes, combine several on one element, and edit them visually across breakpoints and states.
Classes in Divhunt are real CSS classes managed in the Builder. Add one or more classes to an element from the Design panel, then edit the class and every element that uses it updates. The selector shows which classes an element has, which are inherited from a component, and which one you are editing. The Classes panel lists every class with search, rename, delete and paste style.
How it works
- Class names allow a-z, A-Z, 0-9, - and _; spaces become -; names must be unique.
- Add classes from the selector with suggestions of existing classes as you type.
- Edit a class: its styles are stored per breakpoint and state (same structure as element styles).
- Inherited classes from the component main tag are shown separately.
- Classes panel: search, Create Class, list of classes and tag classes; right click a class for Name, Paste Style, Remove (Remove requires confirm).
- Hover a class in the panel to outline elements using it on the canvas.
- Class style changes go to undo history.
- Classes can carry interactions used by the Interactions feature.
- Compiled to .classname { } inside main with media queries per breakpoint.
When to use it
- Create a .btn-primary and use it on every call to action
- Combine a layout class with a color class
Limitations
- Renaming rules strip unsupported characters
Availability
- Works in Designer.
- Included in every plan.
How to use it.
- Select an element
- Click the selector row in the Design tab and type a class name
- Pick an existing class or create a new one
- Edit styles while the class chip is active
Questions.
Can an element have several classes?
What characters are allowed in a class name?
Related features.
Direct tag styling
Style a single element directly in the Designer without creating a class first.
Global tag styles
Set site wide styles for HTML tags like body, h1, p or li, applied to every matching element.
Advanced states
Style hover, focus, active, child, pseudo element and custom selector states for any element or class.
Custom breakpoints
Use the four default breakpoints or add your own pixel breakpoints, with a live width slider for each.
Browse other features
Designer
Bring your ideas to life with our visual website builder. Drag and drop with ease, or dive into coding when needed.
→AI Studio
Describe it and AI builds it. Every change lands in the same project you can open in the Designer.
→MCP
Connect Claude Code, Cursor or any MCP client and build whole sites with your own agent.
→CMS
Create, organize, and manage your dynamic content with the maximum freedom and flexibility of our visual CMS.
→SEO
Divhunt delivers ultra-fast & structured sites that are good for ranking by default, while offering complete control for customization.
→REST API
Easily link to any REST API endpoint with instant preview and expand your site’s functionality smoother than ever before.
→Plugins
Divhunt offers an open platform for creating plugins to upgrade features, add new capabilities, and simplify building better sites.
→Localization
Localize everything from static pages and CMS content to URLs and metadata, in up to 15 languages with no add-on.
→Interactions
Visually create animations and interactions with a simple, intuitive timeline. Build smooth, engaging experiences without code.
→Custom Files
Manage JS and CSS files with a structure developers love, combining folders and clean organization.
→Memberships
Create plans, decide who sees what and connect it all to your CMS. Build courses, communities or client portals.
→