# Diagonal Section Separators

**URL:** <https://community.hubspot.com/t/diagonal-section-separators/18710>\
**Category:** CMS Development\
**Created:** [February 11, 2020, 4:58pm UTC](https://community.hubspot.com/t/diagonal-section-separators/18710 "2020-02-11T16:58:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![finixdesigner](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/finixdesigner/32/67205_2.png) [@finixdesigner](https://community.hubspot.com/u/finixdesigner)\
**Post date:** [February 11, 2020, 4:58pm UTC](https://community.hubspot.com/t/diagonal-section-separators/18710/1 "2020-02-11T16:58:29Z")

</div>

Hello fellow big brains!

Looking to create some slick diagonal section breaks for my landing pages and was wondering if anyone has ever built this before. I’d image someone here has! I started taking a stab at this myself but figure I’d reach out the the community first to see what’s out there . Below, I’ve provided a screenshot of what i’m trying to achieve and a little JSFiddle of what I had begun working on. Couldnt find a post about this topic so any help would be appericated. Thanks!

**JS Fiddle**  
[https://jsfiddle.net/coreythedesigner/hxyfc79L/](https://jsfiddle.net/coreythedesigner/hxyfc79L/)

**Example:**

\*\*

 ![example.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/c/d/cd966afd1ddb3141771907ca5da7eae7eea1270b.png)  
\*\*

---

<div class="post-metadata">

**Author:** ![sharonlicari](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/sharonlicari/32/101479_2.png) [@sharonlicari](https://community.hubspot.com/u/sharonlicari)\
**Post date:** [February 12, 2020, 11:22am UTC](https://community.hubspot.com/t/diagonal-section-separators/18710/2 "2020-02-12T11:22:53Z")

</div>

Hey @finixdesigner

Thank you for sharing all this information, this will help the experts I will tag so they will be able to advise you.

Hey, @DaniellePeters @Kevin-C @Anonymous could you please share your knowledge with @finixdesigner ?

Thank you

Sharon

---

<div class="post-metadata">

**Author:** ![prosa](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/prosa/32/4387_2.png) [@prosa](https://community.hubspot.com/u/prosa)\
**Post date:** [February 12, 2020, 3:03pm UTC](https://community.hubspot.com/t/diagonal-section-separators/18710/3 "2020-02-12T15:03:43Z")

</div>

The fastest way to do this is using an svg to create the path to clip your background.

you can try using this tool.

> **[Clip Path Generator - CSS Plant](https://cssplant.com/clip-path-generator)**

---

<div class="post-metadata">

**Author:** ![Kevin-C](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kevin-c/32/34570_2.png) [@Kevin-C](https://community.hubspot.com/u/Kevin-C)\
**Post date:** [February 12, 2020, 4:02pm UTC](https://community.hubspot.com/t/diagonal-section-separators/18710/4 "2020-02-12T16:02:48Z")

</div>

Hey @finixdesigner and thank you @sharonlicari

Age old request here, which means there are quite a few ways to go about this. And the best solution is dependent on your implementation and current sight structure. How do you find out which is best? Well try a few and see what you feel most comfortanle with.

Below I’ve found a few tutorial on achieving this effect:

[A few options from the people at CSS Tricks](https://css-tricks.com/creating-non-rectangular-headers/)

[Skewing / Rotating the entire container and its contents](https://kilianvalkhof.com/2017/design/sloped-edges-with-consistent-angle-in-css/)
