CSS-VALIDATOR(1)
π CSS-VALIDATOR(1) β like, the manual, but make it make sense
okay bestie so this is the page for css-validator, a lil User Command that lives in your terminal and will absolutely tell you if your CSS is a mess or a masterpiece. no gatekeeping here, we're gonna walk through every single flag together π«Ά
β¨ NAME β¨
css-validator β validate CSS style sheets π
πΈ SYNOPSIS πΈ
css-validator [OPTIONS] [URL]*
π¦ DESCRIPTION π¦
You hand it a CSS style sheet, or an html file, or a url, and it checks whether that thing is valid. That's the whole vibe. It's giving quality control but make it fashion. β¨
π OPTIONS π
-p,--printCSSβ prints the validated CSS. heads up though: this only actually works with text output, because with the other output formats the CSS gets printed anyway. iykyk π-profile PROFILE,--profile=PROFILEβ checks the style sheet against PROFILE. the possible values are:css1,css2,css21,css3,css3svg(this one's the default),svg,svgbasic,svgtiny,atsc-tv,mobile,tv.-medium MEDIUM,--medium=MEDIUMβ checks the style sheet using the medium MEDIUM. possible values:all(default),aural,braille,embossed,handheld,print,projection,screen,tty,tv,presentation.-output OUTPUT,--output=OUTPUTβ prints the result in whatever format you picked. possible values:gnu,json,soap12,text(default, obvs),ucn,xhtml,xml.-lang LANG,--lang=LANGβ prints the result in the language you asked for. possible values:bg,cs,de,el,en(default),es,fa,fr,hi,hu,it,ja,ko,nl,pl-PL,pt-BR,ro,ru,sv,uk,zh-cn. multilingual icon behavior π-warning WARN,--warning=WARNβ how loud do you want the warnings, bestie. possible values:-1(no warning at all),0,1,2(default β all the warnings, we're spilling everything).-vextwarning true,--vextwarning=trueβ treats Vendor Extensions as warnings. the possible values for vextwarning aretrueorfalse(which is the default).URLβ a URL can be either a distant web resource (https://) or a local file (file:/). For a relative path usefile:relative/path/to/my_style_sheet.css. For an absolute path usefile:/absolute/path/to/my_style_sheet.css.
π EXIT STATUS π
- returns
0on success π - returns
1for fatal errors π - returns
10to110for the number of errors in the checked Style Sheet π
so yeah, the exit code is literally a report card. read it and weep (or slay).
π SEE ALSO π
ngl there isn't a SEE ALSO section in this one β this page is a solo main character. periodt. π
k that's the whole thing, bestie β go forth and validate. this lil manual is from css-validator, dated July 2025 πΈ catch you in the group chat π«Άβ¨
π¦ where this page comes from
- ubuntu resolute: css-validator 0~20250226+dfsg-1 Β· W3C-19980720
- ubuntu stonking: css-validator 0~20250226+dfsg-5 Β· W3C-19980720
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms