سلام آنا ممنون از کمک های همیشگیت عزیزمi want a hand drawn border on div in css
Hello! You can create a hand-drawn border on a div in CSS by using the CSS property "border-image". Here's an example code:
div {
border: 10px solid transparent;
border-image: url('path/to/image.png') 30 repeat;
padding: 20px;
}
In this code, the "border" property sets the width and color of the border, and "border-image" sets the image to be used for the border. The "padding" property adds space between the content and the border.
Make sure to replace "path/to/image.png" with the path to your own hand-drawn border image. You can adjust the width, height, and repeat of the border image by changing the values in the "border-image" property.
I hope this helps! Let me know if you have any other questions
原文地址: https://www.cveoy.top/t/topic/ctDI 著作权归作者所有。请勿转载和采集!