hchao7
@hchao7All solutions
- Submitted 6 months ago
Blog preview card using Flexbox, BEM
- HTML
- CSS
Initially, I wanted an instant transition from desktop to mobile font-size once the viewport reached a certain width. Ultimately, I used
clamp()
, which resizes font-size gradually. Is there a way to accomplish an instant resize without using media queries? - Submitted 6 months ago
QR code component with Flexbox, BEM
- HTML
- CSS
1
I’d like to make sure I’ve applied BEM principles correctly. I have:/* Block */ .card {} /* Elements */ .card__qr-code {} .card__heading {} .card__sub-heading {}
2
This is my first project, so any tips on best practices for writing/organizing CSS and HTML are greatly appreciated. Or, if there's any part of my CSS that could have been cleaner.