-5

.outer {
  background-color: #FFB4B4;
  padding: 40px;
  text-align: left;
}
<div class="outer"><h1>Lorem Ipsum nkdsdkjdks diosudisuidus</h1><p>At vero eos et accusam et justo duo dolores et ea rebum. At vero eos et accusam et justo duo dolores et ea rebum. </p><button>test</button></div>

How can i make this Shape with only CSS without using extra plugin or javascript or anything. It should work with all major Browsers like Chrome, Mozilla, Safari, IE.

Note: I do not wanna use Shape Image for it.

Shape with CSS only

welcomegkm
  • 354
  • 1
  • 13

1 Answers1

1

Despite not being the best way to ask a question I suppose this is what you want.

HTML

<div class="shape"></div> 

CSS

.shape {
  width: 80px;
  border-right: 50px solid transparent;
  border-top: 100px solid red;
}

This will create the shape you want but you can easily get to this result if you do a quick search for shapes in css

Jorge Guerreiro
  • 682
  • 6
  • 22