Web Development How To

How to minimize css

https://github.com/giakki/uncss

npm install uncss
node_modules/uncss/bin/uncss ibm_files/*.html > clean.css

alternative:
https://github.com/purifycss/purifycss

How to get any webpage source

copy and paste into the browaser's url prompt

javascript:window.open( , , '' ).document.write( '<textarea cols=80 rows=40>' + document.body.parentNode.innerHTML + '</textarea>' );

How to gray out images using css alone

Use the following css

.footerinc a img{opacity:0.5;border:0}
.footerinc a:hover img{opacity:1;}