Modify border height



  • How can I manage altitude, like right. borderif I don't have an automatic coating of all the content in the block? border-imageThen tell me how to do it. border-image Just for a certain party, thank you in advance.



  • This is an example from border-image for one (lower) side.

    body { margin: 0; padding: 10px; }
    

    div {
    background-color: #e2e2e2;
    border: solid transparent;
    border-width: 0 0 20px;
    border-image:url("https://thumbs.dreamstime.com/x/love-line-colorful-drawing-vertical-seamless-pattern-illustration-lines-background-graphic-texture-wallpaper-64879256.jpg") 2 repeat;
    }

    <div>DIV</div>


Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2