Remove link
Remove Code Remove Systems Remove Workshop
article thumbnail

Cookieless Alternative To Embed HTML, CSS And JS Code Snippets

Smashing Magazine

Cookieless Alternative To Embed HTML, CSS And JS Code Snippets. Cookieless Alternative To Embed HTML, CSS And JS Code Snippets. At the same time, we want to have an interactive website with comments, polls, videos, code examples, and many more. Deploy the code example with your favorite hosting provider (e.g. Get Started.

Code 110
article thumbnail

Gone Floating Labels And Green Lighthouse Scores

Smashing Magazine

New Online Workshops on Smashing. Almost a year ago, we started running our very own online workshops , and each and every one has been an incredible experience to our entire team. Here’s a brief overview of the workshops that we have planned for the **next months**: Dates. Architecting Design Systems. Workflow, Code.

Mobile 141
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

article thumbnail

Simplifying Form Styles With `accent-color`

Smashing Magazine

I don’t know about you, but I love it when new CSS properties arrive that make our daily lives as developers simpler and enable us to remove a whole lot of redundant code. See the Pen [Old skool custom checkbox styling]([link] by Michelle Barker. See the Pen [accent-color – showing two different colours]([link] by Michelle Barker.

Media 135
article thumbnail

Using HSL Colors In CSS

Smashing Magazine

Usually, we use hexadecimal color codes (hex colors) which are fine, but they have a couple of issues: They are limiting; They’re hard to understand from reading them. Adding on that, it’s not easy to guess what color is from looking at the hex code. On design systems, CSS/JS and UX. Jump to online workshops ?.

Design 144
article thumbnail

Reducing The Need For Pseudo-Elements

Smashing Magazine

See the Pen [`::first-line`]([link] by Marcel. See the Pen [`::selection`]([link] by Marcel. Continue reading below ↓ Meet Smashing Online Workshops on front-end & UX , with practical takeaways, live sessions, video recordings and a friendly Q&A. On design systems, CSS/JS and UX. Jump to online workshops ?.

Internet 137
article thumbnail

How To Build Resilient JavaScript UIs

Smashing Magazine

This premise, known as graceful degradation allows a system to continue working when parts of it are dysfunctional — much like an electric bike becomes a regular bike when its battery dies. Often system failures are chalked up as “corner cases” — things that rarely happen, however, the web has many corners.

Network 145
article thumbnail

Useful React APIs For Building Flexible Components With TypeScript

Smashing Magazine

Let’s say we want to create a TabBar component of links. export interface ITabbarProps { links: {title: string, url: string}[] }. The TabBar is a list of links, but we need a way to define two pieces of data, the title of the link, and the URL. export interface ITabbarProps { links: ReactNode[] }. More after jump!

Design 99