- index.html
- style.css
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<title>Creating a Round Arrow with a Frame, Part 1</title>
<meta charset="utf-8">
<link rel="stylesheet" href="setting.css">
<link rel="stylesheet" href="style.css">
</head>
<body class="geometry">
<div class="arrow-round"></div>
</body>
</html>
CSS
.arrow-round {
position: relative;
margin: 100px auto;
width: 200px;
height: 200px;
}
You’ve gone to a different page
Goalscompleted
0
- Assign a solid frame that is
50px
thick and#0074d9
in color to the.arrow-round
block, - then assign
50%
rounding of the corners to the frame, - and finally set
transparent
color to the right part of the frame.
Comments