Can iRrame Scrollbars be hidden in webkit?

It is still pretty well known that you can create scrollbars using webkit-specific CSS tags (:: - webkit-scrollbar-button: start: decrement, :: - webkit-scrollbar-button: end: increment, etc.) etc.). However, I noticed that I cannot style the scrollbars attached to the iFrames.

Question: Is there a way to access and style scrollbars on an iFrame using webkit? (Yes, I do have a specific scenario where I would like to be able to do this.)

Thanks for any help!

+2


source to share


1 answer


Iframe scrollbars are actually part of the document inside the iframe. As a result, you have to set the scrollbar styles in the document that you load in the iframe, not in the document that contains the iframe.



+1


source







All Articles