4.5K views
CSSAdd prefixes
1button { 2 font-family: PlusJakartaSans,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Cantarell,Helvetica Neue,Ubuntu,sans-serif; 3 font-size: 1rem; 4 align-items: center; 5 height: 48px; 6 border-radius: 0.4rem; 7 font-weight: 600; 8 padding: 0 1.2rem; 9 color: #ddd; 10 border: none; 11 box-shadow: 0 .5rem 1rem rgba(143, 142, 142, 0.15)!important; 12 background: #000000; 13} 14 15.followers { 16 font-size: 0.8rem; 17 color: #7f7f7f; 18} 19 20button:hover { 21 background: #2b2a2a; 22} 23 24
HTML
1<button> Followers 2 <span class="followers"> 65.7K </span> 3</button>