In Chrome DevTools there is a shortcut to show/hide an element:
Chrome adds __web-inspector-hide-shortcut__
class to the element, but it is nothing more than visibility: hidden
:
Is there similar shortcut to change element's display: none/block
style? So on click it adds style='display: none;'
attribute and toggles it none/block
?
There is no such shortcut. What you can do instead is use backspace to remove the element from the DOM and cmd+z to bring it back.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With