---
title: "How to make trapezoid with CSS?"  
description: "How to make trapezoid with CSS?"  
author: "Ethan Karla"  
published: 2021-07-15  
updated: 2021-07-15  
canonical: https://www.mindstick.com/forum/156490/how-to-make-trapezoid-with-css  
category: "css-css3"  
tags: [".net", "web development", "html", "css-css3"]  
reading_time: 2 minutes  

---

# How to make trapezoid with CSS?

Is it possible to make a shape trapezoid? If it is possible state with the help of example.

## Replies

### Reply by Ravi Vishwakarma

![How to make trapezoid with CSS?](https://www.mindstick.com/mindstickforums/d817e125-acfc-4d0f-99a7-c67a821ec371/images/e6363a96-2e78-4d81-84b3-e244e02e6499.png)

```
<!DOCTYPE html>
<html lang='en' xmlns='http://www.w3.org/1999/xhtml'>
<head>
    <meta charset='utf-8' />
    <style type='text/css'>
        body{
            text-align:center;
            display: flex;
            flex-direction:column;
            justify-content: center;
            align-items: center;
        }
            body div {
                margin: 50px;
            }
.trap {
            width:200px;
            height:100px;
            background-color:white;
            border-bottom:100px solid black;
            border-left:40px solid transparent;
            border-right:40px solid transparent;
        }
    </style>
    <title>Animation Demo</title>
</head>
<body>
    <div class='trap'>  </div> Trapezoid <br />
</body>
</html>
```

\


---

Original Source: https://www.mindstick.com/forum/156490/how-to-make-trapezoid-with-css

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
