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

130
Views
how to create a rounded corner for the picture(img tag) in clip-path polygon in CSS

in my design, I must create a polygon with a rounded corner. like this picture.enter image description here I want the last part (35% 100%), to create a border-radius of 30px. how can I do it? Thanks in advance for your guidance.

img {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 35% 100%);
}
<div class="parent">
  <img src="assets/img/img-1.jpg" alt="">
</div>

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

0

Use skew to create such effect:

.box {
  width: 70%;
  margin-left: auto;
  border-bottom-left-radius: 30px;
  overflow: hidden;
  transform-origin: top;
  transform: skewX(20deg);
}

.box img {
  display: block;
  width: 100%;
  transform-origin: inherit;
  transform: skewX(-20deg); /* the opposite value here */
}

.wrapper {
  overflow: hidden;
}
<div class="wrapper">
  <div class="box">
    <img src="https://picsum.photos/id/1069/500/200">
  </div>
</div>

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!