depth of field on the web in CSS and JS