index.html 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Hand Drawn Border Effects</title>
  6. <style>
  7. div{
  8. width:100%;
  9. margin-top:5%;
  10. text-align:center;
  11. }
  12. p{
  13. display:inline-block;
  14. width:20%;
  15. margin:5% auto;
  16. border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
  17. padding:1em;
  18. line-height:1.5em;
  19. background:hsla(67, 95%, 95%, 1);
  20. }
  21. #one {
  22. border:solid 5px hsla(0, 95%, 35%, 1);
  23. }
  24. #two{
  25. border:dotted 5px hsla(0, 95%, 35%, 1);
  26. }
  27. #three{
  28. border:dashed 5px hsla(0, 95%, 35%, 1);
  29. }
  30. </style>
  31. </head>
  32. <body>
  33. <div>
  34. <p id="one">
  35. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
  36. </p>
  37. <p id="two">
  38. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
  39. </p>
  40. <p id="three">
  41. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
  42. </p>
  43. </div>
  44. <script>
  45. // https://codepen.io/tmrDevelops/pen/NPXodB
  46. </script>
  47. </body>
  48. </html>