- 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
50pxthick and#0074d9in color to the.arrow-roundblock, - then assign
50%rounding of the corners to the frame, - and finally set
transparentcolor to the right part of the frame.
Comments