Issue
I'm using the chrome inspector to try and analyze the z-index
of a twitter bootstrap popover, and finding it extremely frustrating...
Is there a way to freeze the popover (while shown) so that I can assess and modify the associated CSS?
Placing a fixed 'hover' on the associated link does not cause the popover to appear.
Solution
Got it working. Here was my procedure:
- Browse to the desired page
- Open the dev console - F12 on Windows/Linux or option + ⌘ + J on macOS
- Select the
Sources
tab in chrome inspector - In the web browser window, hover over the desired element to initiate the popover
- Hit F8 on Windows/Linux (or fn + F8 on macOS) while the popover is showing. If you have clicked anywhere on the actual page F8 will do nothing. Your last click needs to be somewhere in the inspector, like the sources tab
- Go to the
Elements
tab in inspector - Find your popover (it will be nested in the trigger element's HTML)
- Have fun modifying the CSS
Answered By - Abram
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.