Why you can’t trust website analytics
The post Why you can’t trust website analytics appeared first on Torque.
There is no doubt that “functional CSS” resonates strongly with some people. If that term is new to you, I belive it’s come to mean the same thing as “Atomic CSS” as defined by John Polacek here. Harry Nicholls likens it to a function that can only produce one result (although I’d call that a pure function or pure component), but instead of a return value being entirely predictable based on inputs, it is an application of style that …
The post Simplify Styling with Functional CSS appeared first on CSS-Tricks.
I recently needed to make a donut chart for a reporting dashboard at work. I wanted it to dynamically calculate its segments based on an arbitrary set of values, have labels, scale well across all screen sizes and devices be accessible, and cross-browser compatible, among other things. This article details the steps I took to do that, using Vue.js.
The post Building a Donut Chart with Vue and SVG appeared first on CSS-Tricks.
The concept of Fluid Typography was tossed around a couple of years ago. The main idea is that if you know what size your font is at two different viewport sizes, then you can have the font scaling smoothly between the two sizes. We had a jQuery solution for this in FitText (meant of headings, of course) until the calc()
function was shipped giving us a pure CSS solution.
p {
…
font-size: calc(16px + (24 - 16)*(100vw - 400px)/(800 -
The post Fun Tip: Use calc() to Change the Height of a Hero Component appeared first on CSS-Tricks.
Both a sobering and interesting read from Stacey Tay on how the team at Carousell gathered the metrics to define a performance budget and, in turn, developed a better experience for their customers:
Our new PWA listing page loads 3x faster than our old listing page. After releasing this new page, we’ve had a 63% increase in organic traffic from Indonesia, compared to our our all time-high week. Over a 3 week period, we also saw a 3x increase in …
The post How we made Carousell’s mobile web experience 3x faster appeared first on CSS-Tricks.
Explore what the world is searching. Enter a search term or a topic.