added a wind direction arrow
This commit is contained in:
@@ -20,3 +20,21 @@ nav a {
|
||||
main {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.arrow {
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 10px solid transparent;
|
||||
border-right: 10px solid transparent;
|
||||
border-bottom: 20px solid black;
|
||||
margin: 20px auto;
|
||||
transform-origin: center;
|
||||
transition: transform 0.3s ease;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.wind-container {
|
||||
display: flex; /* Align items horizontally */
|
||||
align-items: center; /* Vertically center the arrow with the text */
|
||||
gap: 10px; /* Add spacing between the items */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user