CSSLisible
CSSLisible copied to clipboard
Reformatage et réorganisation de CSS
Après quelques tests je constate qu'en gros CSSLisible n'est pas compatible LESS. :( Voilà un compte-rendu : ##### Nested rules Il manque 1 indentation sur chaque ligne ``` #test {...
Plop ! J'ai fait quelques tests avec 0c3ab7fa8d4e30e21dbe1f19d1bdf91162e5fb0a. ``` #test { color: black; .titi { color: white; } color: red; } ``` donne : ``` #test { .titi { color:...
Lowercase: - Selectors: HTML tags without dealing with id and classes - All Properties names - Values: except url(.*), content and font value, ... Do not touch comments!
Conversions to implement : - HSL to Hex - Hex to HSL - HSL to RGB - RGB to HSL
Traduire : - [ ] Les commentaires. - [ ] Le code.
CSSLisible est actuellement très bon pour s'occuper de fichiers unitaires. C'est par contre plus compliqué pour la reprise d'un site ou d'une appli avec du code CSS distribué en plusieurs...
Before: ```css div { background: transparent url('data:image/svg+xml;utf8,') center no-repeat; ``` After: ```css div { background: transparent url('data:image/svg+xml;utf8,') center no-repeat; } ``` As you can see the `` at the end...
Input: ```scss .single-image { @include media-breakpoint-up(md) { max-width: 300px; } & { max-height: 169px; max-width: 100%; } } ``` output: ```scss .single-image { @include media-breakpoint-up(md) { max-width: 300px; } &...