Skip to content
This repository has been archived by the owner on May 25, 2019. It is now read-only.

Change highlighting approach #5

Open
ProLoser opened this issue Dec 11, 2013 · 0 comments
Open

Change highlighting approach #5

ProLoser opened this issue Dec 11, 2013 · 0 comments

Comments

@ProLoser
Copy link
Member

Right now I have 1 div with a MASSIVE translucent border-radius (as the overlay).

A much better approach would be to use 1 simple element as a full-page translucent overlay, then create a second element that serves as the highlight box (pretty much just a transparent box with box-shadow, lower z-index than target). The target element is then set to pos:rel (if necessary) and it's z-index is boosted to a higher-than-overlay value.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant