https://i.sstatic.net/XxlXE.png
I am struggling to create a tab similar to the one in the image above. Any suggestions on how I can achieve this?
I attempted using the code snippet below to create a sample shape, but it did not produce the desired outcome.
#demo:before {
border-width: 10px;
border-top-color: #ccc;
border-left-width: 50px;
border-right-width: 0;
left: 0;
}
#demo:after {
border-width: 2px;
border-top-color: #777;
border-left-width: 50px;
border-right-width: 0;
left: 0;
}