Description
Writing a complete CSS declaration may not look good in class attributes. To simplify the class and unify the team's style, we have proposed a new solution:
Non-utility warnings
⚠️ Avoid writing the full CSS declaration display:block.
<div class="display:block"></div>
🟢 Possible fixes: Use the recommended utility block.
<div class="block"></div>
Recommended keys
⚠️ Not a recommanded key t:.
<div class="t:center"></div>
🟢 Possible fixes: Use the recommended key text:.
<div class="text:center"></div>
Description
Writing a complete CSS declaration may not look good in class attributes. To simplify the class and unify the team's style, we have proposed a new solution:
Non-utility warnings
display:block.🟢 Possible fixes: Use the recommended utility
block.Recommended keys
t:.🟢 Possible fixes: Use the recommended key
text:.