Atomizer
PostCSS
Our great sponsors
Atomizer | PostCSS | |
---|---|---|
17 | 86 | |
1,525 | 28,181 | |
0.3% | 0.3% | |
9.1 | 8.8 | |
21 days ago | about 1 month ago | |
JavaScript | TypeScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Atomizer
-
Are you still using the ternary operator to dynamically apply Tailwind styles?
Tailwind CSS is a CSS framework that has gained incredible popularity, with usage skyrocketing 40% in three years, according to the State of CSS 2022. It offers benefits such as development speed, maintainability, and gzip optimization. As a result, it is expected to exceed 50% in the 2023 survey. However, the readability of Tailwind CSS decreases sharply as the style becomes more complex, which is a typical disadvantage of the utility-first approach. Personally, I recommend my library, CSS Lube, but in this article, I would like to introduce some simple tips that can improve the developer experience when using the Atomic CSS approach.
-
Mengenal macam - macam Metodologi penulisan CSS - Part 2
Dokumentasi resmi ACSS: https://acss.io/
-
Getting started with a whole new CSS language —— Master CSS
Language - Master is a language, but it was originally inspired by ACSS's concept of atomic classes.
-
Setting up a dev environment with React, Vite, and Tailwind
Tailwind and React are two leading technologies in their sphere. Tailwind CSS simplifies the concept of Atomic CSS, enabling developers to style their UI by adding some classes to their markup. And with the performance improvements that come with the new JIT compiler, Tailwind CSS has become a clear developer's favorite.
-
Got Messy Spaghetti Stylesheets? 4 Techniques for Managing CSS Complexity
Atomic frameworks like Atomic CSS and Tailwind takes a single purpose approach to selectors, so CSS properties are naturally never overlapping – this is also why Tailwind's @apply is an anti-pattern when overused.
-
What is Tailwind? And how to set it up properly.
It sure is ugly-looking but it works well! Drawing inspiration from Atomic CSS and utility classes (1 class = 1 style), Tailwind makes a few strong design decisions:
-
5 CSS methodologies you need to know in 2022
Atomic CSS is the approach to CSS architecture that favors small, single-purpose classes with names based on visual function.
- How long did you spend on css?
-
Is styling supposed to be so damn difficult?
There are all kinds of approaches people take to maintain clean HTML/CSS, such as BEM or Atomic CSS.
-
The React roadmap for beginners you never knew you needed.
Atomic
PostCSS
-
PostCSS - my initial experience
the plugins in the official PostCSS website were old like IE6 or the marquee tag, and
-
Dark Mode with SvelteKit, a Blog Post
Hello internet. I just published a new blog post on how to implement dark mode with SvelteKit, optionally with PostCSS and TailwindCSS:
-
11 Ways to Optimize Your Website
There are many frontend tools available for this purpose. For example, PostCSS is a popular CSS processor that can combine and minimize your code. With the right plugin, it can even fix your code for compatibility issues, making sure your CSS styles work for all browsers.
-
Styling React 2023 edition
I use PostCSS to extend CSS’s features and to add a few things that make writing styles a little more convenient, but it could easily be swapped for another preprocessor like Sass or vanilla CSS. It’s up to you. You can view my PostCSS config here.
-
Abstract Syntax Trees and Practical Applications in JavaScript
Code transpilation isn't specific to JavaScript, You can also add a level of transformation to your CSS source using tools like post-css. Most languages with a fairly mature ecosystem will probably have some tools to help with code transformation.
-
Native CSS nesting now supported by all major browsers!
In large projects, it is still a good idea to use PostCSS, which will translate new CSS features to something that browsers understand today.
- Unicode-range CSS is working wrong in Safari browser?
-
Let's Make Learning Frontend Great Again!
LiveCodes provides many of the commonly used developer tools. These include Monaco editor (that powers VS Code), Prettier, Emmet, Vim/Emacs modes, Babel, TypeScript, SCSS, Less, PostCSS, Jest and Testing Library, among others. All these tools run seamlessly in the browser without any installations or configurations. It feels like a very light-weight version of your own local development environment including the keyboard shortcuts, IntelliSense and code navigation features.
-
How to setup a simple static website using Svelte (with login)
Usually, one of the first things I do on creating a new web app is to throw a UI library in to help style components. There are several UI libraries that can be used by Svelte, but in this case I went with daisyUI because it's a fairly popular UI library which includes tailwind. To install daisyUI, you first need to install tailwind. There's a few different ways to do this (such as this guide), but the easiest way I've found is the following command, which also adds PostCSS and AutoPrefixer:
-
Vanilla+PostCSS as an Alternative to SCSS
Vanilla CSS has taken a similar path with ambitious working drafts, better browser support, and PostCSS to fill the gap for user agents lagging behind. So why is Sass/SCSS still so popular? Maybe we go so used to it that we might have forgotten what problems it was meant to solve in the first place.
What are some alternatives?
linaria - Zero-runtime CSS in JS library
styled-components - Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress 💅
React CSS Modules - Seamless mapping of class names to CSS modules inside of React components.
emotion - 👩🎤 CSS-in-JS library designed for high performance style composition
React Inline
esbuild - An extremely fast bundler for the web
Tailwind CSS - A utility-first CSS framework for rapid UI development.
CSS Layout - A collection of popular layouts and patterns made with CSS. Now it has 100+ patterns and continues growing!
purgecss - Remove unused CSS
Neutrino - Create and build modern JavaScript projects with zero initial configuration.
JSS - JSS is an authoring tool for CSS which uses JavaScript as a host language.