13 ms·
One possible solution is in the article - nothing prevents you from using: <div class="profile-card m-5 p-5 text-gray-light bg-gray-darker border border-gray
by darekkay 8y ago
One possible solution is in the article - nothing prevents you from using:
<div class="profile-card m-5 p-5 text-gray-light bg-gray-darker border border-gray-light">
with "profile-card" being use just for identifying the component.
Other than that, I rarely go through HTML without Dev Tools, which shows me exactly what a certain div is for.
- jonahx 8y agoyeah that's better than nothing, but your markup is still super noisy and hard to scan. > Other than that, I rarely go through HTML without Dev Tools, which shows me exactly what a certain div is for. I do all the time. I'd much prefer to work in my text editor, without being obliged to use chrome tools to extract semantic meaning from my code.
- gyrgtyn 8y agovar profileCard = "m-5 p-5 text-gray-light bg-gray-darker border border-gray-light"