Hello!

To achieve a handwritten border on a div using CSS, you can use the "border-image" property. This property allows you to define an image that will be used as the border of an element.

Here's an example:

div {
  border: 10px solid transparent;
  border-image: url('path/to/your/image.png') 30 round;
}

In this example, we're setting the border width to 10px and making it transparent so that the image we define as the border can show through. The "url" function is used to specify the path to your image file. The "30" value in the "border-image" property specifies the width of the border image slice. And "round" is used to tell the browser to repeat the image to fill the border.

You can adjust the values to get the desired effect. I hope this helps! Let me know if you have any other questions

سلام آنا ممنون از کمک های همیشگیت عزیزمیک سوال داشتم من میخواهم با زبان css دور یکdiv را خط بکشممساله ای که وجود داره اینه که این خط کشیدن نمیخوام صاف باشه میخوام مقداری نامنظم باشه انگار این خط رو با

原文地址: http://www.cveoy.top/t/topic/ctfJ 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录