"> supports-preserve-symlinks-flag 30f7226d9a first commit il y a 3 ans tailwind-color-palette 30f7226d9a first commit il y a 3 ans tailwindcss 30f7226d9a first commit il y a 3 ans thenify 30f7226d9a first commit il y a 3 ans thenify-all 30f7226d9a first commit il y a 3 ans to-regex-range 30f7226d9a first commit il y a 3 ans tr46 30f7226d9a first commit il y a 3 ans ts-interface-checker 30f7226d9a first commit il y a 3 ans uglify-js 30f7226d9a first commit il y a 3 ans underscore 30f7226d9a first commit il y a 3 ans upper-case 30f7226d9a first commit il y a 3 ans util-deprecate 30f7226d9a first commit il y a 3 ans valid-data-url 30f7226d9a first commit il y a 3 ans web-resource-inliner 30f7226d9a first commit il y a 3 ans webidl-conversions 30f7226d9a first commit il y a 3 ans whatwg-url 30f7226d9a first commit il y a 3 ans wrap-ansi 30f7226d9a first commit il y a 3 ans wrappy 30f7226d9a first commit il y a 3 ans y18n 30f7226d9a first commit il y a 3 ans yallist 30f7226d9a first commit il y a 3 ans yaml 30f7226d9a first commit il y a 3 ans yargs 30f7226d9a first commit il y a 3 ans yargs-parser 30f7226d9a first commit il y a 3 ans .yarn-integrity 30f7226d9a first commit il y a 3 ans tum/tmt_learning - Gogs: Simplico Git Service

Açıklama Yok

Prach Pongpanich 6f337d0a21 install tailwind alpine daisyui 3 yıl önce
..
LICENSE 6f337d0a21 install tailwind alpine daisyui 3 yıl önce
README.md 6f337d0a21 install tailwind alpine daisyui 3 yıl önce
index.d.ts 6f337d0a21 install tailwind alpine daisyui 3 yıl önce
index.js 6f337d0a21 install tailwind alpine daisyui 3 yıl önce
package.json 6f337d0a21 install tailwind alpine daisyui 3 yıl önce

README.md

PostCSS Nested

<img align="right" width="135" height="95"

 title="Philosopher’s stone, logo of PostCSS"
 src="https://postcss.org/logo-leftp.svg">

PostCSS plugin to unwrap nested rules closer to Sass syntax.

.phone {
    &_title {
        width: 500px;
        @media (max-width: 500px) {
            width: auto;
        }
        body.is_dark & {
            color: white;
        }
    }
    img {
        display: block;
    }
}

.title {
  font-size: var(--font);

  @at-root html {
      --font: 16px
  }
}

will be processed to:

.phone_title {
    width: 500px;
}
@media (max-width: 500px) {
    .phone_title {
        width: auto;
    }
}
body.is_dark .phone_title {
    color: white;
}
.phone img {
    display: block;
}

.title {
  font-size: var(--font);
}
html {
  --font: 16px
}

Related plugins:

  • Use postcss-current-selector after this plugin if you want to use current selector in properties or variables values.
  • Use postcss-nested-ancestors before this plugin if you want to reference any ancestor element directly in your selectors with ^&.

Alternatives:

<img src="https://evilmartians.com/badges/sponsored-by-evil-martians.svg"

   alt="Sponsored by Evil Martians" width="236" height="54">

Docs

Read full docs here.