I am trying to create a border around a triangle. I have this so far:
.myDiv {
  width: 300px;
  padding: 15px;
  text-align: right;
  background-color: lightblue;
  position: relative;
  border: 1px solid black;
}
.myDiv::before {
  content: "";
  position: absolute;
  bottom: -20px;
  right: 20px;
  border-right: 20px solid lightblue;
  border-bottom: 20px solid transparent;
}<div class="myDiv">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco</div>But I can't add a border to the before element. How can I add a border around the piece that's sticking out on the bottom ('before` element)?
(I saw this question, but I can't apply the same principle to this, since it's different shapes.)
 
     
     
     
    