Following is slightly off-topic but for searching inside files like
find . -name "*.css" -exec grep -l "#content" {} \;
try `ack` instead ack --css '#content'
Above command will recursively search for '#content' in all css files under the current directory. It is faster than grep and does automatically exclude your hidden version control folders. No need to mess with `--exclude`. I really stopped using grep at all.
ack can be found here: http://betterthangrep.com/