kepper104
@kepper104All solutions
- Submitted 7 months ago
Blog Preview Card
- HTML
- CSS
Nothing in particular, maybe I should have used less divs and split contents more semantically, but it's a really tough thing for me currently.
- Submitted 7 months ago
QR Code Card
- HTML
- CSS
As I am using Tailwind, usually my colors are just classes in the HTML. However because of the provided style guide with color codes I had to create separate CSS classes like so:
.text-paragraph-color { color: hsl(220, 15%, 55%); } .background-color { background-color: hsl(212, 45%, 89%); }
Fortunately, because of Svelte CSS classes encapsulation and syntax, i just put
style
tags beside main HTML and used the custom color classes alongside Tailwind ones.