Level 70
If you don't have any specific requirement for the class name, then you can try the following approach.
<div class="class-name-{{ microtime(true) }}">
//
</div>
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
How to generate HTML content from the server like WhatsApp web So every time the user visits the page is generated with new CSS classes names
Please or to participate in this conversation.