I am trying to do a banner for my website, a bit differently.
I want bottom border, to be kind of "arrow down" looking
Something like this: JS FIDDLE
.indexBanner {
background-image: url('https://i.sstatic.net/dFUnt.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
background-size: cover;
background-color: #404040;
height: 500px;
position: relative;
-webkit-clip-path: polygon(50% 0%, 100% 0, 100% 85%, 50% 100%, 0 85%, 0 0);
}
<div class="indexBanner"></div>
But currently I am using clip-path, which is not supported by Firefox and IE. And also you can see that the "arrow shaped" border is a bit messy.
I've also tried transform: skew in which case the result was more of a "chat bubble" kind of effect.
Is there any way to do this, because I am all out of ideas.
skewapproach mentioned in this answer - stackoverflow.com/questions/30368404/…. I don't understand what you meant by "chat bubble" effect. Maybe if you show a demo, I can help to fine tune it. SVG would be your best bet though.clip-pathwith a reference to an SVG<clipPath>element for ages and with basic shapes likepolygonfor about a year (unprefixed). It needs thelayout.css.clip-path-shapes.enabledflag set totrueinabout:configto work.