<!DOCTYPE html>
<html>
<head>
<title>The inset property in CSS</title>
<style type="text/css">
div {
background-color: deeppink;
width: 150px;
height: 120px;
position: relative;
color: yellow;
}
.exampleText {
writing-mode: horizontal-tb;
position: absolute;
inset: 4px 8px;
background-color: #ff8cfc;
}
</style>
</head>
<body>
<div> <span class="exampleText">Study Tonight</span>
</div>
</body>
</html>