Search
Recreating MDN’s Truncated Text Effect
28.7.2022
It’s no secret that MDN rolled out a new design back in March. It’s gorgeous! And there are some sweet CSS-y gems in it that are fun to look at. One of those gems is how card components handle truncated …
Recreating MDN’s Truncated Text Effect originally published...
React Hooks: The Deep Cuts
13.7.2022
Hooks are reusable functions. They allow you to use state and other features (e.g. lifecycle methods and so on) without writing a class. Hook functions let us “hook into” the React state lifecycle using functional components, allowing us to manipulate …
React Hooks: The Deep Cuts originally...
Samsung Launches ‘Space Tycoon’ Metaverse Experience
13.7.2022
Electronics giant Samsung has announced the launch of Space Tycoon, a metaverse-based experience built as part of the Roblox world. The gaming metaverse, which is directed to entertain Gen Z users, will feature a world in which Samsung products can be constructed by picking their fundamental...
Collective #719
7.7.2022
Bun * Building tabs in Web Components * Body Margin 8px * Preline
The post Collective #719 appeared first on Codrops
The Steam Deck's Specs Have Changed, And Nobody Noticed Until Now
30.6.2022
Anyone who bought one of Valve’s Steam Decks at launch got a very particular model of solid state drive installed in their device. Anyone buying one more recently has received a different drive, one that’s potentially slower.Read more
Building Interoperable Web Components That Even Work With React
7.6.2022
Those of us who’ve been web developers more than a few years have probably written code using more than one JavaScript framework. With all the choices out there — React, Svelte, Vue, Angular, Solid — it’s all but inevitable. One …
Building Interoperable Web Components That Even...
Dialog Components: Go Native HTML or Roll Your Own?
23.5.2022
As the author of a library called AgnosticUI, I’m always on the lookout for new components. And recently, I decided to dig in and start work on a new dialog (aka modal) component. That’s something many devs like to …
Dialog Components: Go Native HTML or Roll Your Own? originally published...
Avoiding the Pitfalls of Nested Components in a Design System
26.4.2022
When creating a component-based, front-end infrastructure, one of the biggest pain points I’ve personally encountered is making components that are both reusable and responsive when there are nested components within components.
Take the following “call to action” (<CTA />…
Avoiding...
Writing Strong Front-end Test Element Locators
22.4.2022
Automated front-end tests are awesome. We can write a test with code to visit a page — or load up just a single component — and have that test code click on things or type text like a user would, …
Writing Strong Front-end Test Element Locators originally published on CSS-Tricks. You should...
Creating Native Web Components
4.3.2022
Learn how to create and use native web components with the Minze JavaScript framework.
The post Creating Native Web Components appeared first on Codrops
Web Component Pseudo-Classes and Pseudo-Elements are Easier Than You Think
28.2.2022
We’ve discussed a lot about the internals of using CSS in this ongoing series on web components, but there are a few special pseudo-elements and pseudo-classes that, like good friends, willingly smell your possibly halitotic breath before you go …
Web Component Pseudo-Classes...
Cointelegraph Consulting: Exploring the DeFi components in GameFi
24.2.2022
GameFi draws parallels with DeFi including staking, liquidity mining, NFT trading and NFT fractionalization
Win a MASERATI MC Special Edition as Race-to-Earn Game ANTEFAME Celebrates MASERATI Partnership
17.2.2022
Start building your roster of rookies, vets, and rising drivers and be a part of an exciting game universe thanks to AnteFame, a race-to-earn (a play on “play-to-earn”) club with two main components: a motorsport fantasy league and a sim-racing league; and also get a chance...
How Do You Handle Component Spacing in a Design System?
26.1.2022
Say you’ve got a <Card /> component. It’s highly likely it shouldn’t be butted right up against any other components with no spacing around it. That’s true for… pretty much every component. So, how do you handle component spacing in …
How Do You Handle...
The CSS from-font Value Explained in 4 Demos
21.1.2022
I was doing my Advent of UI Components, and I stumbled upon the from-font value for the text-decoration-thickness CSS property. I was curious about it, so I did a little research and I think what I found (and learned) …
The CSS from-font Value Explained in 4 Demos originally published...
Context-Aware Web Components Are Easier Than You Think
21.1.2022
Another aspect of web components that we haven’t talked about yet is that a JavaScript function is called whenever a web component is added or removed from a page. These lifecycle callbacks can be used for many things, including making …
Context-Aware Web Components Are Easier Than You Think...
What Were the Hottest Front-End Tools in 2021?
17.1.2022
Another year has passed and once again I’ve had the privilege of going through the Web Tools Weekly newsletter archives from the past 12 months to hunt down the front-end tools that readers found to be the most interesting during …
What Were the Hottest Front-End Tools in 2021?...
How to Build Your First Custom Svelte Transition
14.1.2022
The Svelte transition API provides a first-class way to animate your components when they enter or leave the document, including custom Svelte transitions. By default, the transition directive uses CSS animations, which generally offer better performance and allow the browser’s …
How...
The Quest 2 VR Headset Had A Hell Of A Good Holiday Season
6.1.2022
Last holiday season the Quest 2 VR headset had gotten off to a rocky start, with reviewers praising the virtual reality headset’s tech, but panning its mandatory Facebook integration. This year, with the Facebook restrictions relaxed, Xbox and PlayStation consoles being hard to find, and...
How to Make a Component That Supports Multiple Frameworks in a Monorepo
5.1.2022
Your mission — should you decide to accept it — is to build a Button component in four frameworks, but, only use one button.css file!
This idea is very important to me. I’ve been working on a component library called …
How to Make a Component That Supports Multiple Frameworks in a Monorepo...