Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

209
Views
How to clip path from image and set brightness to the unclipped path

I'm using clip-path for an image to look like a QR code scanner and whatever I try I'm unable to achieve it. I want to do this.

enter image description here

I want to clip path a square from an image. and make a little less bright the unclipped path of image.

when I set clip path I'm getting this. is there any way of doing this the right way. Thank you.

enter image description here

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Can you please check the below code? We have tried one solution hope it will work for you.

Take the image div as a background and then set it to position relative, with respect to it take a pseudo-element before of the parent div and set its position with respect to parent div(i.e. is image div) and apply the box-shadow to it, and set the parent div to overflow hidden.

Please refer to this link: https://jsfiddle.net/yudizsolutions/8pfhbu1L/

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!