Start of adding skewed lines to navigation bar
This commit is contained in:
@@ -30,3 +30,13 @@
|
||||
#logo:hover {
|
||||
font-size: 30px;
|
||||
}
|
||||
|
||||
#line {
|
||||
height: 100%; /* spans the entire height of the navigation bar */
|
||||
width: 10px;
|
||||
background-color: white; /* makes the line white */
|
||||
transform: skewx(-20deg); /* rotates the line by 20 degrees */
|
||||
transform-origin: top left; /* sets the rotation origin to top left */
|
||||
margin-left: 10px; /* Add margin to separate the line from the logo */
|
||||
}
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<a class="logo" id="logo" href="/home">ScoreSpot</a>
|
||||
<div id="line"></div>
|
||||
</div>
|
||||
|
||||
<div class="collapse navbar-collapse" id="navbarToggler">
|
||||
|
||||
Reference in New Issue
Block a user