docs(CSS.md): Add / to rgba/hsla usage (#90)

This commit is contained in:
Alice Grace 2024-08-05 11:06:39 -04:00 committed by GitHub
parent 1bfde0ad8b
commit 628a04a0ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,8 +26,8 @@ Then use them:
```css ```css
.my-div { .my-div {
color: var(--ctp-mocha-text); color: var(--ctp-mocha-text);
background: rgba(var(--ctp-macchiato-base-rgb) 0.9); background: rgba(var(--ctp-macchiato-base-rgb) / 0.9);
border-color: hsla(var(--ctp-frappe-red-hsl) 0.75); border-color: hsla(var(--ctp-frappe-red-hsl) / 0.75);
} }
``` ```