1

I have CSS issue , how i do achieve css rounded corner's as separators thanks. the selected is transparent.enter image description here

webmansa
  • 85
  • 1
  • 12

2 Answers2

0

If I read your question correctly you mean these 'negative' corners on the grey area?

You could try to play with pseudoelements (:after, :before).

Something like:

li {
    position: relative;
}
li:after {
    background-color: white;
    content: '';
    display: block;
    position: absolute;
    width: 10px;
    height: 10px;
    right: -5px;
    bottom: -5px;
    z-index: 1;
    border-radius: 10px;
}
strah
  • 6,702
  • 4
  • 33
  • 45
  • HI, where i have the text , is a selected item ... so basically the selected item should have the border-radius @ the bottom – webmansa Sep 13 '16 at 16:00
-1

Where your css selector is try the following:

border-radius: 5px;

This tells the browser to make the borders rounded based on a pixel count you give it. Read more here (W3Schools).

infamoustrey
  • 730
  • 8
  • 16