How to make arrow in css - arrow in CSS

Published: 16 December 2021
on channel: Masters In Web Design
50
1

How to make an arrow in CSS

/*CSS*/
body{
padding: 0;
margin: 0;
background: #FF4545;
width: 100%;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.arrow-container{
position: relative;
}
.arrow-container span{
position: absolute;
left: 0;
top: 0;
height: 10px;
width: 100px;
background: #FFF;
display: block;
transform-origin: 4px;
}
.arrow-container span.angle-up{
transform-origin: 96px;
left: 37px;
transform: rotate(45deg);
}
.arrow-container span.angle-down{

transform: rotate(-45deg);
}


Watch video How to make arrow in css - arrow in CSS online, duration hours minute second in high quality that is uploaded to the channel Masters In Web Design 16 December 2021. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 50 times and liked it 1 visitors.