maykar / compact-custom-header

This project has been replaced by Custom Header
MIT License
238 stars 31 forks source link

Add backdrop_filter support #189

Closed gabe565 closed 5 years ago

gabe565 commented 5 years ago

With Chrome 76 supporting backdrop-filter, this is a good time to add this one.
It will allow for the user to add blur and other filters to the content behind the header.

I have not added support in conditional styling yet. That could maybe be useful if it lags on a phone, though.

Note that this CSS rule is not supported by Firefox yet, but it looks like it will be added soon! Hopefully in Firefox 70

maykar commented 5 years ago

I appreciate the PR, but I've actually implemented something like this already. It's on the dev branch and it will be in the next release. I decided to give tabs, buttons, and the header the ability to insert your own custom CSS. This makes it a bit more extendable and avoids adding a config option for every CSS property.