Button
1<div class="container"> 2 <button class="Btn instagram"> 3 <svg 4 class="svgIcon" 5 viewBox="0 0 448 512" 6 height="1.5em" 7 xmlns="http://www.w3.org/2000/svg" 8 > 9 <path10 d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"11 ></path>12 </svg>13 <span class="text">Instagram</span>14 </button>15 16 <button class="Btn youtube">17 <svg18 class="svgIcon"19 viewBox="0 0 576 512"20 height="1.5em"21 xmlns="http://www.w3.org/2000/svg"22 >23 <path24 d="M549.655 148.28c-6.281-23.64-24.041-42.396-47.655-48.685C462.923 85 288 85 288 85S113.077 85 74 99.595c-23.614 6.289-41.374 25.045-47.655 48.685-12.614 47.328-12.614 147.717-12.614 147.717s0 100.39 12.614 147.718c6.281 23.64 24.041 42.396 47.655 48.684C113.077 427 288 427 288 427s174.923 0 214-14.595c23.614-6.289 41.374-25.045 47.655-48.685 12.614-47.328 12.614-147.718 12.614-147.718s0-100.389-12.614-147.717zM240 336V176l144 80-144 80z"25 ></path>26 </svg>27 <span class="text">YouTube</span>28 </button>29 30 <button class="Btn twitter">31 <svg32 class="svgIcon"33 viewBox="0 0 512 512"34 height="1.5em"35 xmlns="http://www.w3.org/2000/svg"36 >37 <path38 d="M512 97.248c-18.84 8.36-39.082 14.008-60.277 16.54 21.62-12.92 38.212-33.216 46.042-57.45-20.242 12-42.71 20.67-66.61 25.41-19.128-20.412-46.344-33.21-76.51-33.21-58 0-105 47-105 105 0 8.22.926 16.188 2.714 23.914-87.18-4.376-164.66-46.2-216.45-109.97-9.066 15.508-14.254 33.586-14.254 52.836 0 36.37 18.54 68.542 46.844 87.428-17.272-.554-33.52-5.286-47.754-13.158v1.32c0 50.828 36.13 93.15 84.198 102.79-8.826 2.396-18.14 3.686-27.734 3.686-6.78 0-13.34-.664-19.676-1.902 13.36 41.77 52.164 72.198 98.116 73.052-35.96 28.17-81.38 44.99-130.76 44.99-8.54 0-16.94-.5-25.14-1.476 46.684 29.922 101.99 47.31 161.18 47.31 193.32 0 298.924-160.078 298.924-298.926 0-4.554-.106-9.086-.306-13.594 20.546-14.824 38.364-33.298 52.456-54.422z"39 ></path>40 </svg>41 <span class="text">Twitter</span>42 </button>43</div>
1.container { 2 display: flex; 3} 4 5.Btn { 6 border: none; 7 border-radius: 50%; 8 width: 45px; 9 height: 45px;10 display: flex;11 align-items: center;12 justify-content: center;13 transition-duration: 0.4s;14 cursor: pointer;15 position: relative;16 overflow: hidden;17 margin-left: 10px;18}19 20.instagram {21 background: #f09433;22 background: -moz-linear-gradient(23 45deg,24 #f09433 0%,25 #e6683c 25%,26 #dc2743 50%,27 #cc2366 75%,28 #bc1888 100%29 );30 background: -webkit-linear-gradient(31 45deg,32 #f09433 0%,33 #e6683c 25%,34 #dc2743 50%,35 #cc2366 75%,36 #bc1888 100%37 );38 background: linear-gradient(39 45deg,40 #f09433 0%,41 #e6683c 25%,42 #dc2743 50%,43 #cc2366 75%,44 #bc1888 100%45 );46 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f09433', endColorstr='#bc1888',GradientType=1 );47}48 49.youtube {50 background-color: #ff0000;51}52 53.twitter {54 background-color: #1da1f2;55}56 57.Btn:hover {58 width: 110px;59 transition-duration: 0.4s;60 border-radius: 30px;61}62 63.Btn:hover .text {64 opacity: 1;65 transition-duration: 0.4s;66}67 68.Btn:hover .svgIcon {69 opacity: 0;70 transition-duration: 0.3s;71}72 73.text {74 position: absolute;75 color: rgb(255, 255, 255);76 width: 120px;77 font-weight: 600;78 opacity: 0;79 transition-duration: 0.4s;80}81 82.svgIcon {83 transition-duration: 0.3s;84}85 86.svgIcon path {87 fill: white;88}
MIT License
Copyright © 2025 vinodjangid07 (Vinod Jangid) | akshayjalluri6 (Akshay Jalluri)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.