JSFiddle - React, Tailwind, and code Playground
by Brewal Renault
HTML
<div><h2><a href="#">Notre programme</a></h2></div>
CSS
* {
margin: 0;
padding: 0;
}
div {
width: 250px;
}
h2 {
color: green;
text-align: center;
font-weight: normal;
position: relative;
}
h2:after {
content: ' ';
border-top: 1px solid green;
width: 160px;
height: 1px;
display: block;
margin-left: 45px;
margin-top: 20px;
}
a:before {
content: ' ';
height:4px;
width:8px;
border-radius: 0 0 8px 8px;
-moz-border-radius: 0 0 8px 8px;
-webkit-border-radius: 0 0 8px 8px;
background:white;
display: block;
position: absolute;
left: 50%;
margin-left: -4px;
bottom: -4px;
border: 1px solid green;
}
a {
color: inherit;
text-decoration: none;
display: block;
}
a:after {
content: ' ';
width: 8px;
display: block;
height: 1px;
background: white;
position: absolute;
bottom: 1px;
left: 50%;
margin-left: -3px;
}