Search

Nalezeno "Tricks": 3051

The CSS-in-React Landscape


(This is a sponsored post.) I only half-jokingly refer to the CSS-in-JS world as CSS-in-React. Many of the libraries listed below theoretically work in non-React situations — they generally call that “framework-agnostic”) — but I’d guess the vast majority … The post...

How to Create a Contact Form With Next.js and Netlify


We’re going to create a contact form with Next.js and Netlify that displays a confirmation screen and features enhanced spam detection. Next.js is a powerful React framework for developing performant React applications that scale. By integrating a Next.js site with … The post How...

Some Typography Links VIII


Do you know what to use the @ sign for something other than email addresses and Twitter handles? I do! —  Pawel Grzybek notes how some old physical typewriters had an “Arroba” on them which was represented with the @ … The post Some Typography Links VIII appeared first...

Creating Your Own Bragdoc With Eleventy


No matter what stage you’re at as a developer, the tasks we complete—whether big or small—make a huge impact in our personal and professional growth. Unfortunately, those tasks aren’t always recognized because they can easily get lost in the sea … The post Creating Your Own Bragdoc With...

@supports selector()


I didn’t realize the support for @supports determining selector support was so good! I usually think of @supports as a way to test for property: value pair support. But with the selector() function, we can test for selector support … The post @supports selector() appeared first...

An Interview With Elad Shechter on “The New CSS Reset”


Hey folks! Elad reached out to me to show me his new CSS reset project called the-new-css-reset. It’s quite interesting! I thought a neat way to share it with you is not only to point you toward it, but … The post An Interview With Elad Shechter on “The New CSS Reset” appeared...

Three-Digit Browser Versions in March 2022


This isn’t supposed to be any sort of decision-making based on browser User-Agent Strings. But, ya know, collectively, we do make those decisions. Karl Dubost notes that there is a significant change coming to them, notably moving the version … The post Three-Digit Browser Versions...

How to Build a Nearly Headless WordPress Website


I believe that a traditional WordPress theme should be able to work as effectively as a static site or a headless web app. The overwhelming majority of WordPress websites are built with a good ol’ fashioned WordPress theme. Most of … The post How to Build a Nearly Headless WordPress...

Expandable Sections Within a CSS Grid


I love CSS Grid. I love how, with just a few lines of code, we can achieve fully responsive grid layouts, often without any media queries at all. I’m quite comfortable wrangling CSS Grid to produce interesting layouts, while keeping … The post Expandable Sections Within a CSS Grid appeared...

Different Degrees of Custom Property Usage


One way to work with Custom Properties is to think of them as design tokens. Colors, spacings, fonts, and whatnot. You set them at the root of the page and use them throughout your CSS. Very useful, and the classic … The post Different Degrees of Custom Property Usage appeared first...

Embedded Analytics Made Simple With Cumul.io Integrations


Browse through SaaS communities on Twitter, LinkedIn, Reddit, Discord, you name it and you’ll see a common theme appear in many of them. That theme can go by many names: BI, analytics, insights and so on. It’s natural, we do … The post Embedded Analytics Made Simple With Cumul.io...

Bonsai Browser


Web-browser for research that helps programmers think clearly. With Bonsai, rather than being like, I’m going to go use my web browser now, you hit Option + Space and it brings up a browser. It’s either full-screen or a … The post Bonsai Browser appeared first on CSS-Tricks....

CSS is Going Gosh-Darned Hog Wild, I Tell Ya What


As someone just sittin’ back watching CSS evolve, it feels like we’re at one of the hottest moments of innovation in CSS history. It was really something when we got flexbox across all browsers, and not terribly long after, grid. … The post CSS is Going Gosh-Darned Hog Wild,...

Less Absolute Positioning With Modern CSS


Ahmad Shadeed blogs the sentiment that we might not need to lean on position: absolute as much as we might have in the past. For one thing: stacking elements. For example, if you have a stack of elements that should … The post Less Absolute Positioning With Modern CSS appeared first...

Jamstack Developers’ Favorite Frameworks of 2021


Which new framework should I learn this year? Is it time to ditch my CMS? What tools should I pick up if I want to scale my site to an audience of millions? The 2021 Jamstack Community Survey is here … The post Jamstack Developers’ Favorite Frameworks of 2021 appeared first on CSS-Tricks....

WooCommerce + Google Analytics


Google Analytics is powerful analytics software. A common way to use it is to just slap the JavaScript snippet on every page template you have and let it collect basic data about unique visitors and pageviews and such. That’s useful, … The post WooCommerce + Google Analytics appeared...

Those “Get The App” Banners


Why would a company promote a native app over their perfectly usable website? We’d have to ask them, I suppose. But it’s hard not to see this push to native as a matter of priorities: that these companies consider native … The post Those “Get The App” Banners appeared first...

Cash (Tiny jQuery Alternative)


The README for Cash is straightforward: Cash is an absurdly small jQuery alternative for modern browsers (IE11+) that provides jQuery-style syntax for manipulating the DOM. Utilizing modern browser features to minimize the codebase, developers can use the familiar chainable methods … The...

Better Collaboration With Pull Requests


This article is part of our “Advanced Git” series. Be sure to follow us on Twitter or sign up for our newsletter to hear about the next articles! In this third installment of our “Advanced Git” series, we’ll look at … The post Better Collaboration With Pull Requests appeared first...

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace