Search
SVG Title vs. HTML Title Attribute
30.7.2020
You know the title attribute? I can do this:
<div title="The Title"I'm a div with a `title`
</div
And now if I’m on a device with a mouse pointer and hover the cursor over that element, I get…
Which, uh, I guess is something. I sometimes use it for things like putting...
Major Investment Bank Oppenheimer Bullish on Bitcoin, Highlights Instead of Gold
30.7.2020
U.S. investment bank Oppenheimer’s analyst says gold is “extended” and has “run up a bit,” bringing attention to bitcoin instead. He sees the cryptocurrency reversing its downtrend from the $20K peak, benefiting from the dollar’s weakness. Oppenheimer Analyst...
A Bit on Web Component Libraries
29.7.2020
A run of Web Components news crossed my desk recently so I thought I’d group it up here.
To my mind, one of the best use cases for Web Components is pattern libraries. Instead of doing, say, <ul class="nav nav-tabs"> like you would do in Bootstrap or <div class="tabs"> like...
Using Trello as a Super Simple CMS
27.7.2020
Sometimes our sites need a little sprinkling of content management. Not always. Not a lot. But a bit. The CMS market is thriving with affordable, approachable products, so we’re not short of options. Thankfully, it is a very different world to the one that used to force companies to splash out...
Bold on Hover… Without the Layout Shift
27.7.2020
When you change the font-weight of a font, the text will typically cause a bit of a layout shift. That’s because bold text is often larger and takes up more space. Sometimes that doesn’t matter, like a vertical stack of links where the wider/bolder text doesn’t push anything...
Bitcoin Brokers In 'Very Important' Race For Big Investors - BitGo Prime CEO
25.7.2020
As prime brokerage has become an integral part of traditional financial markets, crypto industry players are racing to bring these services into this nascent market too. This would increase efficiency and encourage more institutional investors to allocate more of their funds to cryptoassets...
WordPress.com Growth Summit
23.7.2020
I’m speaking at The Official WordPress.com Growth Summit coming up in August. “Learn how to build and grow your site, from start to scale”, as they say. Lovely, thick, diverse set of speakers. It’s a little bit outside my normal spheres which makes...
Reactive jQuery for Spaghetti-fied Legacy Codebases (or When You Can’t Have Nice Things)
22.7.2020
I can hear you crying out now: “Why on Earth would you want to use jQuery when there are much better tools available? Madness! What sort of maniac are you?” These are reasonable questions, and I’ll answer them with a little bit of context.
In my current job, I am responsible for the care...
What ya need there is a bit of templating
22.7.2020
I had a fella write in to me the other day. He had some HTML, CSS, and JavaScript, and it just wasn’t behaving like he thought it ought to. The HTML had some placeholders in it and the JavaScript had some data in it, and the assumption was that the data would fill the placeholders.
To those...
Bottlepay Returns by September with Fiat Integration and Bitcoin Tweets
10.7.2020
Upon its planned comeback by September, the fully compliant, revamped Bottlepay app will feature fiat integration, enabling users to spend bitcoin (BTC) from their national currency, Pete Cheyne, founder of this UK-based BTC wallet provider, told Cryptonews.com.
As reported, the first version...
A little bit of plain Javascript can do a lot
8.7.2020
Julia Evans:
I decided to implement almost all of the UI by just adding & removing CSS classes, and using CSS transitions if I want to animate a transition.
An awful lot of the JavaScript on sites (that aren’t otherwise entirely constructed from JavaScript) is click the thing...
How to Make a List Component with Emotion
8.7.2020
I’ve been doing a bit of refactoring this week at Sentry and I noticed that we didn’t have a generic List component that we could use across projects and features. So, I started one, but here’s the rub: we style things at Sentry using Emotion, which I have only passing experience with and...
The Thirteenth Fourth
5.7.2020
Well boy howdy. The 13th birthday of CSS-Tricks has rolled around. A proper teenager now, howabouthat? I always take the opportunity to do a bit of a state of the union address at this time, so let’s get to it!
Design
Technically, we’re still on v17 of the site design. This was...
In Defense of a Fussy Website
26.6.2020
The other day, I was doom-scrolling Twitter and saw a delightful article titled “The Case for Fussy Breakfasts.” I love food — especially breakfast — and since the pandemic hit I’ve been using my breaks in between meetings (or, shh, sometimes in meetings) to make a full bacon, poached...
Hudba s Microbitem (úloha z kroužku programování pro děti)
16.6.2020
Micro Bit je programovatelný mikropočítač z Velké Británie. Na jednom hudebním příkladu si ukážeme jeho použití ve výuce
What is Developer Experience (DX)?
16.6.2020
Developer Experience¹ is a term² that has one somewhat obvious meaning — the experience of developers — but it eludes definition in the sense that people invoke it at different times for different reasons referring to different things. For instance, our own Sarah Drasner’s current job title...
Crypto 101: How to Send and Receive Bitcoin Cash Via the Bitcoin.com Wallet
16.6.2020
During the last few months in the midst of the coronavirus outbreak and faltering global economy, many individuals have shown an interest in bitcoin and other cryptocurrencies. However, oftentimes people can find the process a bit daunting because they are not used to using crypto assets and have...
CUBE CSS
11.6.2020
A CSS methodology from Andy Bell:
The most important part of this methodology is the language itself: CSS. It’s key to note its existence in the name because some alternative approaches, such as BEM—which I have enjoyed for many years—can veer very far away from Cascading Style Sheets. I love CSS...
Responsive web design turns ten.
27.5.2020
Ethan on the thinking and research that inspired the term:
Around that time, my partner Elizabeth visited the High Line in New York City shortly after it opened. When she got back, she told me about these wheeled lounge chairs she saw in one section, and how people would move them apart for a...
Responsive web design turns ten.
27.5.2020
Ethan on the thinking and research that inspired the term:
Around that time, my partner Elizabeth visited the High Line in New York City shortly after it opened. When she got back, she told me about these wheeled lounge chairs she saw in one section, and how people...