postcss.org<\/a>.<\/p>\nI would like to thank Ben Briggs, Andrey Sitnik, Dan Gamble, Chris Coyier and Malin Gernandt for making this article possible through proofreading and ideas.<\/small><\/p>\n","protected":false},"excerpt":{"rendered":"
The following is a guest post by Marcus Tis\u00e4ter. I think there are a lot of us out there that find PostCSS kind of fascinating. Especially from the perspective of potentially being able to write our own plugins, in JavaScript, that transform CSS in any way we want. But where to begin? How do you […]<\/p>\n","protected":false},"author":221310,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"sig_custom_text":"","sig_image_type":"featured-image","sig_custom_image":0,"sig_is_disabled":false,"inline_featured_image":false,"c2c_always_allow_admin_comments":false,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":[]},"categories":[4],"tags":[711,698],"jetpack_publicize_connections":[],"acf":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":322591,"url":"https:\/\/css-tricks.com\/parsel-a-tiny-permissive-css-selector-parser\/","url_meta":{"origin":241179,"position":0},"title":"Parsel: A tiny, permissive CSS selector parser","date":"October 2, 2020","format":false,"excerpt":"If you've ever thought to yourself, gosh, self, I wish I could have an Abstract Syntax Tree (AST) of this CSS selector, Lea has your back. If you've ever thought that same thing for an entire CSS file, that's what PostCSS is, which has gone v8. PostCSS doesn't do anything\u2026","rel":"","context":"In "Link"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2020\/10\/parsel.png?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":359107,"url":"https:\/\/css-tricks.com\/the-ui-fund\/","url_meta":{"origin":241179,"position":1},"title":"The UI fund","date":"December 15, 2021","format":false,"excerpt":"Google is handing out bucks for CSS-related projects, so you might as well know about it! Nicole Sullivan: All of us who work on the web regularly benefit from the work of people who create specifications, tools, demos, tutorials, and polyfills. Many of these resources are side projects, made available\u2026","rel":"","context":"In "Link"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2020\/09\/piggy-bank.jpg?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":361233,"url":"https:\/\/css-tricks.com\/parcel-css\/","url_meta":{"origin":241179,"position":2},"title":"Parcel CSS: A New CSS Parser, Transformer, and Minifier","date":"January 12, 2022","format":false,"excerpt":"Hot off the presses from Devon Govett, creator of Parcel, is Parcel CSS: A CSS parser, transformer, and minifier written in Rust. Nice. The CSS world could use a little processing shake up like this. I just wrote a few weeks ago: Ya know how\u00a0esbuild\u00a0has seriously shaken things up for\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2022\/01\/parcel-css.png?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":335636,"url":"https:\/\/css-tricks.com\/how-to-use-tailwind-on-a-svelte-site\/","url_meta":{"origin":241179,"position":3},"title":"How to Use Tailwind on a Svelte Site","date":"March 12, 2021","format":false,"excerpt":"Let\u2019s spin up a basic Svelte site and integrate Tailwind into it for styling. One advantage of working with Tailwind is that there isn\u2019t any context switching going back and forth between HTML and CSS, since you\u2019re applying styles as classes right on the HTML. It\u2019s all the in same\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2021\/03\/tailwind-in-svelte.jpg?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":357046,"url":"https:\/\/css-tricks.com\/css-decorations\/","url_meta":{"origin":241179,"position":4},"title":"CSS “decorations”","date":"November 22, 2021","format":false,"excerpt":"A reader wrote to me the other day asking about this bit of CSS they came across in Wikipedia's\u00a0Common.css: .mw-collapsible-leftside-toggle .mw-collapsible-toggle { \/* @noflip *\/ float: left; \/* @noflip *\/ text-align: left; } What's that @noflip business? That's what they are calling a \"CSS decorator\" and I think that's a\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2021\/11\/css-comment-directive.jpg?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":323373,"url":"https:\/\/css-tricks.com\/comparing-styling-methods-in-2020\/","url_meta":{"origin":241179,"position":5},"title":"Comparing Styling Methods in 2020","date":"October 19, 2020","format":false,"excerpt":"Over on Smashing, Adebiyi Adedotun Lukman covers all these styling methods. It's in the context of Next.js, which is somewhat important as Next.js has some specific ways you work with these tools, is React and, thus, is a components-based architecture. But the styling methods talked about transcend Next.js, and can\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2020\/10\/css-stylized.jpg?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]}],"featured_media_src_url":null,"_links":{"self":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/241179"}],"collection":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/users\/221310"}],"replies":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/comments?post=241179"}],"version-history":[{"count":10,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/241179\/revisions"}],"predecessor-version":[{"id":241265,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/241179\/revisions\/241265"}],"wp:attachment":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/media?parent=241179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/categories?post=241179"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/tags?post=241179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}