Sign in to follow this  
Followers 0
x-game

Как объединить 2 фильтра css?

2 posts in this topic

нужно объединить 2 фильтра

 

filter: grayscale(100%);
filter: blur(5px);
 
в один. Так они не работают, работают только по отдельности..) 

Share this post


Link to post
Share on other sites

На примере вашего аватара:

  1. img завернуть в div
  2. для img -webkit-filter: blur(5px);
  3. для div -webkit-filter: grayscale(100%);

cdd567c1e35e4f37b45b97e988939ad0.png

direct808 likes this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.