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>
The process of talent mapping involves creating a comprehensive and detailed analysis of future industry…
Introduction: The digital landscape is always evolving, and if there is one thing you can…
Forget all the big fancy words and tech hype around “Artificial Intelligence” for now. The…
Solar panels work by converting the solar energy received from the sun into usable electric…
In today’s digital-first economy, your website is often the first impression your business makes. Whether…
Dubai’s digital landscape is highly competitive, making it essential for businesses to work with the…