JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html>
<html>
<head>
<title>
Задание 1. Эскиз
</title>
<link type = "text/css" rel = "stylesheet" href = "style.css">
<!--[if IE]>
<script src = "http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<div>
Рабочий эскиз
<i id="angel1"></i>
<i id="angel2"></i>
<i id="angel3"></i>
<i id="angel4"></i>
</div>
</body>
</html>
CSS
*
{
margin: 0;
padding: 0;
font-size: 100%;
}
html,
body
{
padding: 20px;
}
html
{
font: 125% georgia, serif;
}
body
{
font-size: 50%; /* 10px */
position: relative;
}
div
{
background-color: #F0F0F0;
padding: 10px;
font-size: 1.6em;
border: 1px solid;
}
i
{
position: absolute;
display: block;
width: 20px;
height: 20px;
}
i#angel1
{
top: 0;
left: 0;
border-bottom: 1px solid;
border-right: 1px solid;
}
i#angel2
{
top: 0;
right: 0;
border-bottom: 1px solid;
border-left: 1px solid;
}
i#angel3
{
bottom: 0;
left: 0;
border-top: 1px solid;
border-right: 1px solid;
}
i#angel4
{
bottom: 0;
right: 0;
border-top: 1px solid;
border-left: 1px solid;
}