Professional Documents
Culture Documents
Dar AmMAn - HTML
Dar AmMAn - HTML
DOCTYPE html>
<html>
<head>
<title>Heart</title>
</head>
<body>
<div style="width: 100px; height: 100px; position: relative;">
<div style="position: absolute; width: 100px; height: 100px; transform:
rotate(45deg);">
<div style="position: absolute; top: 0; left: 50%; width: 50px; height:
100px; background-color: red;"></div>
<div style="position: absolute; top: 0; right: 50%; width: 50px; height:
100px; background-color: red;"></div>
</div>
<div style="position: absolute; width: 100px; height: 100px; transform:
rotate(-45deg);">
<div style="position: absolute; top: 0; left: 50%; width: 50px; height:
100px; background-color: red;"></div>
<div style="position: absolute; top: 0; right: 50%; width: 50px; height:
100px; background-color: red;"></div>
</div>
</div>
</body>
</html>