# Bottom Wave Shape Effect

**URL:** <https://forum.freecodecamp.org/t/bottom-wave-shape-effect/169299>\
**Category:** Curriculum Help\
**Tags:** html, css\
**Created:** [January 17, 2018, 4:51pm UTC](https://forum.freecodecamp.org/t/bottom-wave-shape-effect/169299 "2018-01-17T16:51:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Omor](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/omor/32/69027_2.png) [@Omor](https://forum.freecodecamp.org/u/Omor)\
**Post date:** [January 17, 2018, 4:51pm UTC](https://forum.freecodecamp.org/t/bottom-wave-shape-effect/169299/1 "2018-01-17T16:51:51Z")

</div>

![personal portfolio samples_final](https://global.discourse-cdn.com/freecodecamp/original/3X/2/3/2379802f6c8c181122dba00bbbe45ff073c49067.jpg)  
How can i make this wave effect in css in my div…i have marked the area in the img…

---

<div class="post-metadata">

**Author:** ![IsaacAbrahamson](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/isaacabrahamson/32/30882_2.png) [@IsaacAbrahamson](https://forum.freecodecamp.org/u/IsaacAbrahamson)\
**Post date:** [January 17, 2018, 6:19pm UTC](https://forum.freecodecamp.org/t/bottom-wave-shape-effect/169299/2 "2018-01-17T18:19:04Z")

</div>

Probably the easiest way would be to use an image or svg. Since you didn’t link the site, I can’t look at their code to see how they did it, but I found another site with a similar design that used an image.

> **[Bitbucket | The Git solution for professional teams](https://bitbucket.org/)**
>
> Collaborate on code with inline comments and pull requests. Manage and share your Git repositories to build and ship software, as a team.

Here is the relevant part of their site:

 ![](https://global.discourse-cdn.com/freecodecamp/original/3X/d/f/df1e66fcb8ef14cf626e8335ea255f1b983cbc42.png)

* * *

If you inspect with developer tools, you can see they have an image there. If you remove it, the site looks like this:

* * *

 ![](https://global.discourse-cdn.com/freecodecamp/original/3X/d/e/de77549fa3c37d1e1ef4322c11638919dc9cfbf8.png)

* * *

Their code for that is:

```css
.element {
    background-image: url(https://bitbucket-marketing-cdn.atlassian.com/dam/jcr:cd01b96d-381e-49ab-a487-c7d1df92cf59/atlassian%20wave%20adg30524.svg?cdnVersion=jh);
    background-position: center bottom;
    background-size: 1440px 126px;
    background-repeat: repeat-x;
}

```

And the svg itself:

```auto
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
	 viewBox="0 0 1440 126" style="enable-background:new 0 0 1440 126;" xml:space="preserve">
<style type="text/css">
	.st0{fill:#0052CC;}
</style>
<title>Rectangle 3</title>
<desc>Created with Sketch.</desc>
<path class="st0" d="M685.6,38.8C418.7-11.1,170.2,9.9,0,30v96h1440V30C1252.7,52.2,1010,99.4,685.6,38.8z"/>
</svg>

```

Hopefully that will give you something to play with.

---

<div class="post-metadata">

**Author:** ![owel](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/owel/32/48425_2.png) [@owel](https://forum.freecodecamp.org/u/owel)\
**Post date:** [January 17, 2018, 6:21pm UTC](https://forum.freecodecamp.org/t/bottom-wave-shape-effect/169299/3 "2018-01-17T18:21:03Z")

</div>

1. You can have the original image be a transparent png with that wave shape cutout,
2. or have a white wave transparent image that you overlay on top of your image.

#1 will be easier and straightforward to do. But if the image is resized, the wave will also be resized along.

---

<div class="post-metadata">

**Author:** ![abalducci](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/abalducci/32/78525_2.png) [@abalducci](https://forum.freecodecamp.org/u/abalducci)\
**Post date:** [January 17, 2018, 6:29pm UTC](https://forum.freecodecamp.org/t/bottom-wave-shape-effect/169299/4 "2018-01-17T18:29:58Z")

</div>

You would also have to make some mods (sizing, etc) (as well as remove some unneeded parts), but especially with an svg wave (assuming you designed it so left and right sides ‘matched’), and this simple code example you could have a pretty cool ‘infinite wave’ effect.

[https://css-tricks.com/infinite-all-css-scrolling-slideshow/](https://css-tricks.com/infinite-all-css-scrolling-slideshow/)

---

<div class="post-metadata">

**Author:** ![Omor](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/omor/32/69027_2.png) [@Omor](https://forum.freecodecamp.org/u/Omor)\
**Post date:** [January 18, 2018, 2:36pm UTC](https://forum.freecodecamp.org/t/bottom-wave-shape-effect/169299/5 "2018-01-18T14:36:09Z")

</div>

thx brother for your help…
