Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new group control for the CSS filter property #3260

Closed
ramiy opened this issue Jan 21, 2018 · 1 comment
Closed

Add new group control for the CSS filter property #3260

ramiy opened this issue Jan 21, 2018 · 1 comment
Labels
status/merged Indicates when a Pull Request has been merged to a Release. type/developer-api Indicates when a topic is related to the Developer API and Documentation.
Milestone

Comments

@ramiy
Copy link
Contributor

ramiy commented Jan 21, 2018

Description

Elementor has a wide range of controls used in by all king of widgets. Let's add another one.

A new group control that will allow the user to defines visual effects (like blur, grayscale, brightness, contrast and more) to an element - usually an image of a video.

CSS filter property

The filter property has a very good support by modern browsers - https://caniuse.com/#feat=css-filters

See filter examples - http://bennettfeely.com/filters/

See filter info - https://www.html5rocks.com/en/tutorials/filters/understanding-css/

See filter usage - https://www.w3schools.com/cssref/css3_pr_filter.asp

Grayscale usage:

img {
   filter: grayscale(50%);
}

Multiple effects:

img {
   filter: blur(5px) brightness(0.45) contrast(1.05);
}

Group_Control_Filter

I was thinking it could be a popup like Group_Control_Text_Shadow and Group_Control_Box_Shadow.

It will have set of individual controls for each and every filter effect. Most of them will be sliders...

Widgets that use images can add this control to the style tab to alter the image using browser effects supported by CSS.

@bainternet bainternet added the request/feature Indicates a Request for a non-existing New Feature. label Jan 22, 2018
@arielk arielk added type/developer-api Indicates when a topic is related to the Developer API and Documentation. and removed request/feature Indicates a Request for a non-existing New Feature. labels Feb 14, 2018
@joshmarom joshmarom added this to the 2.1.0 milestone Apr 11, 2018
@ramiy
Copy link
Contributor Author

ramiy commented Apr 12, 2018

Ref: 5d63cbb

@ramiy ramiy mentioned this issue Apr 12, 2018
@arielk arielk added the status/merged Indicates when a Pull Request has been merged to a Release. label May 30, 2018
@arielk arielk closed this as completed Jul 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/merged Indicates when a Pull Request has been merged to a Release. type/developer-api Indicates when a topic is related to the Developer API and Documentation.
Projects
None yet
Development

No branches or pull requests

4 participants