I am trying to make an L shaped div in css and it have a couple things that I cant figure out.
I want it to have rounded edges, be clickable inside the div but not inside missing edge (not sure if this is possible)
I made a version in svg using a tool but I realized it wont scale as I need it to and it needs to be CSS conditional rather than html conditional.
I found an example here of an L div But I cant get the inside edges to curve and or apply an inside div gradient background to it:
.test-test {
box-sizing: border-box;
position: relative;
margin: 10px;
border-left: 3px solid;
border-bottom: 3px solid;
height: 250px;
width: 400px;
line-height: 20px;
background: linear-gradient(90deg, yellow 50%, transparent 50%), linear-gradient(0deg, pink 50%, transparent 50%);
background-size: 100% 3px, 3px 100%;
background-position: 0px 0px, 100% 100%;
background-repeat: no-repeat;
}
.test-test:before {
position: relative;
float: right;
right: 0px;
top: 0px;
content: '';
background: transparent;
height: 50%;
width: 50%;
border-left: white 3px solid;
border-bottom: green 3px solid;
}
p {
display: block;
padding: 8px 8px;
}
}
<div class="test-test">
<p>Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat. Quis aute iure reprehenderit
in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint obcaecat cupiditat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div>
Any suggestions are welcome.