w
wrk
44 Joined 6 days ago
How to get epoch time in Rust?

How can I get the current system epoch time in milliseconds/seconds (and to a lesser extent nanoseconds and microseconds) in Rust?

1 vote 12 views 1 Answer
Asked 2 days ago
w
44
Font Size Inherit - Tailwind CSS

I would like to apply inherited font size to an element with Tailwind. I know that this can be achieved in regular CSS like so: But how would I accomplish this using purely Tailwind class syntax? text-inherit seems to apply color: inherit not font-size: inherit l...

1 vote 15 views 1 Answer Asked 5 days ago
w
44
What is the difference between gap-x and space-x in TailwindCSS?

I’ve seen both gap-x/y-* and space-x/y-* used in Tailwind examples to create spacing between elements. What is the actual difference between them? Are they interchangeable, or is one preferable in certain situations?

2 votes 38 views 1 Answer Asked 6 days ago
w
44