Dribbble
2K Views
57 Downloads - 8 API calls
45 Lines - 894 Bytes
Apr 23, 2020 brands
1 .gg-dribbble { 2 background:
3 radial-gradient(
4 circle at 50% ,
5 transparent 0 ,
6 transparent 9px ,
7 currentColor 9.2px ,
8 currentColor 11px ,
9 transparent 11.2px )
10 no-repeat -8px center;
11 box-sizing: border-box;
12 position: relative;
13 display: block;
14 transform:
15 rotate(-25deg )
16 scale(var(--ggs,1 ));
17 width: 22px ;
18 height: 22px ;
19 box-shadow: inset 0 0 0 2px ;
20 border-radius: 50% ;
21 overflow: hidden
22 } 23 24 .gg-dribbble::after ,
25 .gg-dribbble::before { 26 content: "";
27 display: block;
28 box-sizing: border-box;
29 position: absolute;
30 border-radius: 50% ;
31 border: 2px solid;
32 height: 26px 33 } 34 35 .gg-dribbble::before { 36 width: 36px ;
37 left: -6px ;
38 top: -15px 39 } 40 41 .gg-dribbble::after { 42 top: 13px ;
43 left: -7px ;
44 width: 31px 45 }
1 <svg 2 width="24 " 3 height="24 " 4 viewBox="0 0 24 24 " 5 fill="none" 6 xmlns="http://www.w3 .org/2000 /svg" 7 > 8 <path 9 fill-rule="evenodd" 10 clip-rule="evenodd" 11 d="M1 11.9554 V12.0446 C1.01066 14.7301 1.98363 17.1885 3.59196 19.0931 C4.05715 19.6439 4.57549 20.1485 5.13908 20.5987 C5.70631 21.0519 6.31937 21.4501 6.97019 21.7853 C7.90271 22.2656 8.91275 22.6165 9.97659 22.8143 C10.5914 22.9286 11.2243 22.9918 11.8705 22.9993 C11.9136 22.9998 11.9567 23 11.9999 23 C15.6894 23 18.9547 21.1836 20.9502 18.3962 C21.3681 17.8125 21.7303 17.1861 22.0291 16.525 C22.6528 15.1448 22.9999 13.613 22.9999 12 C22.9999 8.73978 21.5816 5.81084 19.3283 3.79653 C18.8064 3.32998 18.2397 2.91249 17.6355 2.55132 C15.9873 1.56615 14.0597 1 11.9999 1 C11.888 1 11.7764 1.00167 11.6653 1.00499 C9.99846 1.05479 8.42477 1.47541 7.0239 2.18719 C6.07085 2.67144 5.19779 3.29045 4.42982 4.01914 C3.7166 4.69587 3.09401 5.4672 2.58216 6.31302 C2.22108 6.90969 1.91511 7.54343 1.6713 8.20718 C1.24184 9.37631 1.00523 10.6386 1 11.9554 ZM20.4812 15.0186 C20.8171 14.075 20.9999 13.0588 20.9999 12 C20.9999 9.54265 20.0151 7.31533 18.4186 5.6912 C17.5975 7.05399 16.5148 8.18424 15.2668 9.0469 C15.7351 10.2626 15.9886 11.5603 16.0045 12.8778 C16.7692 13.0484 17.5274 13.304 18.2669 13.6488 C19.0741 14.0252 19.8141 14.487 20.4812 15.0186 ZM15.8413 14.8954 C16.3752 15.0321 16.904 15.22 17.4217 15.4614 C18.222 15.8346 18.9417 16.3105 19.5723 16.8661 C18.0688 19.2008 15.5151 20.7953 12.5788 20.9817 C13.5517 20.0585 14.3709 18.9405 14.972 17.6514 C15.3909 16.7531 15.678 15.8272 15.8413 14.8954 ZM13.9964 12.6219 C13.9583 11.7382 13.7898 10.8684 13.5013 10.0408 C10.6887 11.2998 7.36584 11.3765 4.35382 9.97197 C4.01251 9.81281 3.68319 9.63837 3.36632 9.44983 C3.12787 10.2584 2.99991 11.1142 2.99991 12 C2.99991 13.9462 3.61763 15.748 4.6677 17.2203 C6.83038 14.1875 10.3685 12.4987 13.9964 12.6219 ZM6.047 18.7502 C7.77258 16.059 10.7714 14.5382 13.8585 14.6191 C13.723 15.3586 13.4919 16.093 13.1594 16.8062 C12.3777 18.4825 11.1453 19.805 9.67385 20.6965 C8.31043 20.3328 7.07441 19.6569 6.047 18.7502 ZM11.9999 3 C13.7846 3 15.4479 3.51946 16.847 4.41543 C16.2113 5.54838 15.3593 6.4961 14.368 7.23057 C13.3472 5.57072 11.8752 4.16433 10.027 3.21692 C10.6619 3.07492 11.3222 3 11.9999 3 ZM8.80619 4.84582 C10.4462 5.61056 11.7474 6.80659 12.6379 8.23588 C10.3464 9.24654 7.64722 9.30095 5.19906 8.15936 C4.83384 7.98905 4.48541 7.79735 4.15458 7.58645 C4.91365 6.24006 6.00929 5.10867 7.32734 4.30645 C7.82672 4.44058 8.32138 4.61975 8.80619 4.84582 Z" 12 fill="currentColor" 13 /> 14 </svg>
1 import React from 'react' 2 import styled from 'styled-components' 3 4 const StyledDribbble = styled.i` 5 & { 6 background: radial-gradient(7 circle at 50% , 8 transparent 0 , 9 transparent 9px , 10 currentColor 9.2px , 11 currentColor 11px , 12 transparent 11.2px 13 ) 14 no-repeat -8px center; 15 box-sizing: border-box;16 position: relative;17 display: block;18 transform: rotate(-25deg ) scale(var(--ggs, 1 ));19 width: 22px ;20 height: 22px ;21 box-shadow: inset 0 0 0 2px ;22 border-radius: 50% ;23 overflow: hidden;24 } 25 &::after , 26 &::before { 27 content: '';28 display: block;29 box-sizing: border-box;30 position: absolute;31 border-radius: 50% ;32 border: 2px solid;33 height: 26px ;34 } 35 &::before { 36 width: 36px ;37 left: -6px ;38 top: -15px ;39 } 40 &::after { 41 top: 13px ;42 left: -7px ;43 width: 31px ;44 } 45 ` 46 47 export const Dribbble = React.forwardRef<HTMLElement, React.HTMLAttributes<HTMLElement>>( 48 (props, ref) => { 49 return ( 50 <> 51 <StyledDribbble { ...props} ref={ ref} icon-role="dribbble" /> 52 </> 53 ) 54 } , 55 ) 56
Dribbble is a magic CSS icon created by practicing attributes such as: background, transform, width, height, box-shadow, border-radius, overflow, border, Fun to know, it has: 45 Lines of code at 894b & 599b minified. Truly marvelous 💎 huhh.