Skip to content

aureliojargas/css-grep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

The grep-friendly CSS reference

  1. Download the text file to your home folder.
$ curl -L https://raw.github.com/aureliojargas/css-grep/master/css-grep.txt > ~/css.txt
  1. Create a nice Bash alias.
$ alias css='cat ~/css.txt | grep --color=auto -i'
  1. Enjoy your instant CSS reference with the new css command.
$ css italic
font-style            : normal, italic, oblique

$ css bold
font-weight           : normal, bold, bolder, lighter
font                  : bold 12pt Arial

$ css back
background-color      : transparent, white, #FFF, #FFFFFF
background-image      : none, url(file.jpg)
background-repeat     : repeat, repeat-x, repeat-y, no-repeat
background-attachment : scroll, fixed
background-position   : top, center, bottom, left, center, right
background            : white url(file.jpg) no-repeat top left

Tip: Save the alias command (step 2) to your ~/.bashrc to make it permanent.

About

The grep-friendly CSS reference

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published