Say you have a line in SVG:
You can use the stroke-dasharray
property in CSS to make dashes:
line {
stroke-dasharray: 5;
}
That 5
value is a relative unit based …
How stroke-dasharray Patterns Work originally published on CSS-Tricks. You should get the newsletter.
Accedi per aggiungere un commento
Altri post in questo gruppo
A little gem from Kevin Powell's "HTML & CSS Tip of the Week" website, reminding us that using container queries opens up container query units for sizing things based on the size of the queried co
Are partials the only thing keeping you writing CSS in Sass? With a little configuration, it's possible to compile partial CSS files without a Sass dependency. Ryan Trimble has the details.
<hr
When using View Transitions you’ll notice the page becomes unresponsive to clicks while a View Transition is running
Did you see the release notes for Chrome 133? It's currently in beta, but the Chrome team has been publishing a slew of new articles with pretty incredible demos that are tough to ignore. I figured
The @view-transition
at-rule has two descriptions. One is the commonly used navigation
descriptor. The second is types
, the lesser-known of the two, and one t