tailwindlabs / tailwindcss

A utility-first CSS framework for rapid UI development.
https://tailwindcss.com/
MIT License
83.02k stars 4.21k forks source link

Just a small problem #1554

Closed IRediTOTO closed 4 years ago

IRediTOTO commented 4 years ago

Hi :) Look like sm:clear-none not work :) I don't know how to add it in config file. But I think someone will need it.

ahinkle commented 4 years ago

Do you have a full example of how you are using it?

IRediTOTO commented 4 years ago

I think no, I add css manual over style.css. It's work ok :D

ahinkle commented 4 years ago

Please provide a full code example of how you are using it. It seems to be working fine, otherwise.

florianbouvot commented 4 years ago

@warcraft14115 clear-none are documented but is missing from current release.

Will be ok in a futur release, see #1413 PR.

Right now, you can add this in your projet:

@responsive {
    .clear-none {
        clear: none;
    }
}
IRediTOTO commented 4 years ago

@florianbouvot Thank you :D

IRediTOTO commented 4 years ago

@florianbouvot I got a problem with tailwindcss-animatecss :s I tried to use purge css, it worked fine with tailwind But look like it not work with above plugin :s I don't know why. CSS down from 85k lines to 2k (4kb) , but that still not maxium optimize :D Something wrong with purgecss config or from tailwind,right ?

florianbouvot commented 4 years ago

@warcraft14115 I never use this plugin, but I think you need to refer to PurgeCss docs (whitelist, ...) : https://purgecss.com

florianbouvot commented 4 years ago

@warcraft14115 and this one two (Writing purgeable HTML section, ...) : https://tailwindcss.com/docs/controlling-file-size

adamwathan commented 4 years ago

This was added in v1.3, left out accidentally originally 👍