How to use it
- Drag the sliders. The sample picture changes as you go.
- Tick Add drop shadow if you want a shadow that follows the shape, then set its offset, blur, color and opacity.
- Press Copy and paste the rule onto an image, a video or any element.
- Reset all returns every slider to its neutral position.
What the values mean
blurtakes pixels; the other functions in this tool take percentages, excepthue-rotate, which takes degrees.brightness,contrastandsaturatestart at 100 percent. Below that they reduce the effect, above they boost it.grayscale,invertandsepiastart at 0 percent and top out at 100 percent here.opacitybelow 100 percent makes the element see-through.
Example
filter: grayscale(100%) contrast(120%); turns a photo black and white with a bit more punch.
Tips
- Filters are applied to the element and its children together, so a filter on a card also changes the text inside it.
- Large blur values on big elements can be slow on weak devices. Keep them moderate on animated elements.
- To tint only the background behind a panel, look at
backdrop-filterinstead; the glassmorphism generator covers it.