Button by ArturCodeCraft
#212121
1/* <reset-style> ============================ */ 2a { 3 text-decoration: none; 4} 5/* <main-style> ============================ */ 6.menu__link { 7 color: #fff; 8 line-height: 2; 9 position: relative; 10 padding-right: 4px; 11} 12 13.menu__link:hover { 14 text-decoration: underline; 15} 16 17.menu__link::before { 18 content: ''; 19 width: 6px; 20 height: 6px; 21 border-top: solid 2px #fff; 22 border-right: solid 2px #fff; 23 border-radius: 2px; 24 position: absolute; 25 top: 50%; 26 left: 100%; 27 transform: translateY(-50%) rotate(45deg); 28}
Β
393 views
393 views
Variations
1 MIT License