Marcin Wichary has written a great piece that dives into how he used CSS Variables to create a night mode and high contrast theme in an app. There’s so many neat tricks about how to use CSS Variables (Chris has also looked at theming) as well as how to organize them (Andras Galante has an interesting take on this) in here. Plus, Marcin shares some tricks about using filters to invert the color of an image.
I also …
The post 5 Key Elements of a One-Page Website appeared first on Torque.
Gutenberg is the new React-driven SPA editing experience in WordPress. Oh wait, a string of buzzwords doesn’t count for a viable explanation of software? We’re going to unpack that string of buzzwords as we explain what Gutenberg is.
- Series Introduction
- What is Gutenberg, Anyway? (This Post)
- A Primer with create-guten-block (Coming Soon!)
- React 101 (Coming Soon!)
- Setting up a Custom webpack (Coming Soon!)
- A Custom “Card” Block (Coming Soon!)
First, a before-and-after screenshot …
Hey CSS-Tricksters! 👋 We have a special long-form series we’re kicking off here totally dedicated to Gutenberg, a major change to the WordPress editor. I’ve invited a dynamic duo of authors to bring you this series, which will bring you up to speed on what Gutenberg is, what it can do for your site, and how you can actually develop for it.
Who this is for
This series is more for developers who are curious about this new world …
Keith Grant recently released a brand new book on CSS: CSS in Depth. If you’re looking for a book focused specifically on learning CSS, you’ve found it. I was happy to write the foreword for it, which I’ll republish here.
“A minute to learn… A lifetime to master.” That phrase might feel a little trite these days, but I still like it. It was popularized in modern times by being the tagline for the board game Othello. In Othello, …
These Unicode patterns by Yuan Chuan are extraordinarily clever. It’s a
<css-doodle> custom web component that sets up a CSS grid and randomizes what character to drop into a cell and things, like color.
How about a classic CSS trick! This isn’t even so tricky anymore, since CSS has
counter-reset and such that is perfect for this. I just wanted to make sure you knew how it works and had some easy-to-copy examples at the ready.
Let’s say all you wanna do is style the dang numbers:
Here’s an example from the CodePen Challenges pages:
The post Plugin Review Team to Close Unused Plugins appeared first on Torque.