I am currently working on creating a unique div layout that resembles a piece of paper, similar to this imagehttps://i.sstatic.net/mFq3l.png.
However, I am looking to make it a vertical design with the random curly edges on the left and right sides like in this imagehttps://i.sstatic.net/K51Wd.png. I have been experimenting with the border-image property, but I am facing challenges due to the intricate pattern of the border I want to use.
My current CSS code is as follows:
bg-section {
border-image: url(../images/test.png) 120 round;
border-right: 40px solid transparent;
border-left: 40px solid transparent;
width: 70%;
margin: auto;
linear-gradient(rgba(199,194,183,0.2), rgba(199,194,183,0));
}
I am aiming to utilize a border design similar to this imagehttps://i.sstatic.net/4OjAW.png.