You can create CSS Picture frame type border using css styles.
.htmlframe { position: relative; height: 100vh; width: 100%; background-image: linear-gradient(to top right, transparent 48.5%, gray 48.5%, gray 51.5%, transparent 51.5%), linear-gradient(to top right, transparent 48.5%, gray 48.5%, gray 51.5%, transparent 51.5%), linear-gradient(to top left, transparent 48.5%, gray 48.5%, gray 51.5%, transparent 51.5%), linear-gradient(to top left, transparent 48.5%, gray 48.5%, gray 51.5%, transparent 51.5%); background-size: 50px 50px; background-position: top left, bottom right, top right, bottom left; background-repeat: no-repeat; padding: 50px; } .htmlframe:after { position: absolute; content: ''; height: calc(100% - 100px); width: calc(100% - 100px); top: 48px; left: 48px; border: 2px solid gray; } * { margin: 0; padding: 0; box-sizing: border-box; }
<div class="htmlframe">Some text</div>
In today's competitive academic world, students are constantly juggling multiple responsibilities, from preparing for exams…
It is health that is real wealth and not pieces of gold and silver.”— Mahatma…
There is more to handbags than being accessories; they add to a look and tell…
Every constructed premise has a certain survival time. A constructed house or commercial property has…
In a world where digital presence is paramount, the question isn't whether you should do…
Over the years, people have experimented with various methods to maintain healthy and beautiful hair.…