Last active
February 27, 2019 12:42
-
-
Save zartgesotten/b6fb7e30fc43f72bdf3ae2a489f4c2da to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| li.menu-item > a > span { | |
| position: relative; | |
| } | |
| li.menu-item > a > span:after { | |
| position: absolute; | |
| bottom: -30%; | |
| left: 0; | |
| width: 100%; | |
| height: 3px; | |
| background-color: rgba(0, 0, 0, 0.1); | |
| content: ''; | |
| opacity: 0; | |
| -webkit-transition: all 0.25s ease-out; | |
| transition: all 0.25s ease-out; | |
| -webkit-transform: translateY(10px); | |
| -ms-transform: translateY(10px); | |
| transform: translateY(10px); | |
| } | |
| li.menu-item > a:hover > span:after { | |
| opacity: 1; | |
| -webkit-transform: translateY(0); | |
| -ms-transform: translateY(0); | |
| transform: translateY(0); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| li.menu-item > a > span { | |
| position: relative; | |
| } | |
| li.menu-item > a > span:after { | |
| position: absolute; | |
| bottom: -30%; | |
| left: 0; | |
| width: 100%; | |
| height: 1px; | |
| background-color: #13aff0; | |
| content: ''; | |
| opacity: 0; | |
| -webkit-transition: all 0.25s ease-out; | |
| transition: all 0.25s ease-out; | |
| -webkit-transform: translateY(-10px); | |
| -ms-transform: translateY(-10px); | |
| transform: translateY(-10px); | |
| } | |
| li.menu-item > a:hover > span:after { | |
| height: 2px; | |
| opacity: 1; | |
| -webkit-transform: translateY(0); | |
| -ms-transform: translateY(0); | |
| transform: translateY(0); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| li.menu-item > a > span { | |
| position: relative; | |
| } | |
| li.menu-item > a > span:after { | |
| display: block; | |
| background-color: #13aff0; | |
| position: absolute; | |
| bottom: -30%; | |
| left: 0; | |
| content: ''; | |
| width: 100%; | |
| height: 2px; | |
| visibility: hidden; | |
| -webkit-transform: scaleX(0); | |
| -ms-transform: scaleX(0); | |
| transform: scaleX(0); | |
| -webkit-transform-origin: bottom left; | |
| -ms-transform-origin: bottom left; | |
| transform-origin: bottom left; | |
| -webkit-transition: all 0.25s ease-out; | |
| transition: all 0.25s ease-out; | |
| } | |
| li.menu-item > a:hover > span:after { | |
| visibility: visible; | |
| -webkit-transform: scaleX(1); | |
| -ms-transform: scaleX(1); | |
| transform: scaleX(1); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #menu-hauptmenue li a | |
| { | |
| position: relative; | |
| } | |
| #menu-hauptmenue li a:after { | |
| position: absolute; | |
| bottom: -10%; | |
| left: 50%; | |
| color: transparent; | |
| content: '•'; | |
| text-shadow: 0 0 transparent; | |
| font-size: 1.2em; | |
| line-height: 1; | |
| -webkit-transition: all 0.25s ease-out; | |
| transition: all 0.25s ease-out; | |
| -webkit-transform: translateX(-50%); | |
| -ms-transform: translateX(-50%); | |
| transform: translateX(-50%); | |
| pointer-events: none; | |
| } | |
| #menu-hauptmenue li a:hover:after { | |
| color: #13aff0; | |
| text-shadow: 10px 0 #13aff0, -10px 0 #13aff0; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment