Search
An Updated List of Our Favorite Jetpack Features for WordPress
17.9.2019
It's hard to articulate every reason to use Jetpack for your WordPress site. It's taken us a series of posts to unpack it because it's capable of doing so gosh darn much — a lof of which we put to use right here on CSS-Tricks.
The thing is that Jetpack is very much an active project and keeps...
(Why) Some HTML is “optional”
16.9.2019
Remy Sharp digs into the history of the web and describes why the <p> tag doesn’t need to be closed like this:
<p>Paragraphs don’t need to be closed
<p>Pretty weird, huh?
Remy writes:
Pre-DOM, pre-browsers, the world's first browser was being written by Sir...
Watch Out! The Next Big Thing After Cryptocurrencies is Here
6.9.2019
Cryptocurrency is today accepted as a legal transactional medium in many countries of the world. The popularity of digital coins is increasingly becoming a norm and barring a few nations which continue to adopt a hostile attitude towards cryptocurrency, the adoption of digital currency has taken...
Using a PostCSS function to automate your responsive workflow
5.9.2019
A little while back, you might have bumped into this CSS-Tricks article where I described how a mixin can be used to automate responsive font sizes using RFS. In its latest version, v9, RFS is capable of rescaling any value for value for any CSS property with px or rem units, like margin, padding...
Crypto Needs Less Government Regulation – Not More
2.9.2019
A recent opinion article by Peter Lin, “Why Regulation Is The Best Thing For Crypto,” presents common arguments on why the state and state-affiliated institutions should administer cryptocurrency. Underlying the arguments is an assumption: the free market cannot provide necessary...
Nested Gradients with background-clip
28.8.2019
I can't say I use background-clip all that often. I'd wager it's hardly ever used in day-to-day CSS work. But I was reminded of it in a post by Stefan Judis, which consistently was itself a learning-response post to a post over here by Ana Tudor.
Here's a quick explanation.
You've probably seen...
Why Regulation Is the Best Thing for Crypto
28.8.2019
Regulation is coming to the crypto space and we should embrace it. Do you agree?
Ponder it through
27.8.2019
CoinMarketCap Daily Newsletter Your daily newsletter for 27 August, 2019 Think "Learn from yesterday, live for today, hope for tomorrow. The important thing is not to stop questioning." – Albert Einstein Day 2 of the week. Happy Tuesday! I hope the […]
The post Ponder it through appeared...
Jeremy Keith – Building the Web
23.8.2019
I really enjoyed this interview with Jeremy Keith on the state of the web, how things have changed in recent years and why he’s a mix of optimistic and nervous for the future.
One thing that caught my attention during the interview more than anything was where Jeremy started discussing how folks...
Multiplayer Tic Tac Toe with GraphQL
23.8.2019
GraphQL is a query language for APIs that is very empowering for front-end developers. As the GraphQL site explains it, you describe your data, ask for what you want, and get predictable results.
If you haven’t worked with it before, GraphQL might be a little confusing to grok at first glance....
Getting Netlify Large Media Going
20.8.2019
I just did this the other day so I figured I'd blog it up. There is a thing called Git Large File Storage (Git LFS). Here's the entire point of it: it keeps large files out of your repo directly. Say you have 500MB of images on your site and they kinda need to be in the repo so you can work with...
Bounce Element Around Viewport in CSS
19.8.2019
Let's say you were gonna bounce an element all around a screen, sorta like an old school screensaver or Pong or something.
You'd probably be tracking the X location of the element, increasing or decreasing it in a time loop and — when the element reached the maximum or minimum value —...
The Making of an Animated Favicon
15.8.2019
It’s the first thing your eyes look for when you’re switching tabs.
That’s one way of explaining what a favicon is. The tab area is a much more precious screen real-estate than what most assume. If done right, besides being a label with icon, it can be the perfect billboard to represent what’s...
The Differing Perspectives on CSS-in-JS
14.8.2019
Some people outright hate the idea of CSS-in-JS. Just that name is offensive. Hard no. Styling doesn't belong in CSS, it belongs in CSS, a thing that already exists and that browsers are optimized to use. Separation of concerns. Anything else is a laughable misstep, a sign of not learning from...
In Search of a Stack That Monitors the Quality and Complexity of CSS
12.8.2019
Many developers write about how to maintain a CSS codebase, yet not a lot of them write about how they measure the quality of that codebase. Sure, we have excellent linters like StyleLint and CSSLint, but they only help at preventing mistakes at a micro level. Using a wrong color notation, adding...
Billionaire Mark Cuban: ‘I See Gold and Bitcoin as Being the Same Thing’
9.8.2019
Mark Cuban thinks gold and Bitcoin are fundamentally supply-and-demand-driven collectibles, and that the yellow metal is a bad investment asset
Responsive Iframes
25.7.2019
Say you wanted to put the CSS-Tricks website in an <iframe>. You'd do that like this:
<iframe src="https://css-tricks.com"></iframe>
Without any other styling, you'd get a rectangle that is 300x150 pixels in size. That's not even in the User Agent stylesheet, it's just some...
What I Like About Vue
25.7.2019
Dave Rupert digs into some of his favorite Vue features and one particular issue that he has with React:
I’ve come to realize one thing I don’t particularly like about React is jumping into a file, reading the top for the state, jumping to the bottom to find the render function, then following...
Zoom, CORS, and the Web
23.7.2019
It's sorta sad by funny that that big Zoom vulnerability thing was ultimately related to web technology and not really the app itself.
There is this idea of custom protocols or "URL schemes." So, like gittower:// or dropbox:// or whatever. A native app can register them, then URLs that hit them...
Binance CEO Thinks Trump Discussing Cryptocurrency is a Good Thing
23.7.2019
The industry of cryptocurrency doesn’t seem to cease the discussions around it. The latest comments have come from Changpeng Zhao, the CEO of the biggest digital currency exchange in terms of trading volume – Binance. Zhao’s opinions are in response to US President Donald Trump’s remarks...