Code Snippets
أكواد CSS + HTML جاهزة – شاهد المعاينة المباشرة وانسخ الكود
احصل على الكود
#1
SOCIAL
احصل على الكود
#2
SOCIAL
.social-v2-container {
display: flex;
align-items: center;
justify-content: center;
direction: ltr;
}
.social-v2-container .main {
display: flex;
flex-direction: column;
gap: 0.8em;
}
.social-v2-container .up,
.social-v2-container .down {
display: flex;
flex-direction: row;
gap: 0.8em;
}
.social-v2-container .card1,
.social-v2-container .card2,
.social-v2-container .card3,
.social-v2-container .card4 {
width: 90px;
height: 90px;
border: none;
background: rgb(30, 30, 30);
box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
transition: all 0.2s;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}
.social-v2-container .card1 { outline: 5px solid red; border-radius: 90px 5px 5px 5px; }
.social-v2-container .card2 { outline: 5px solid rgb(0, 166, 255); border-radius: 5px 90px 5px 5px; }
.social-v2-container .card3 { outline: 5px solid rgb(93, 250, 255); border-radius: 5px 5px 5px 90px; }
.social-v2-container .card4 { outline: 5px solid rgb(217, 0, 255); border-radius: 5px 5px 90px 5px; }
.social-v2-container .card1:hover .youtube { fill: red; }
.social-v2-container .card1:hover .youtube_center_Icon { fill: white; }
.social-v2-container .card2:hover .discord { fill: rgb(43, 85, 255); }
.social-v2-container .card3:hover .twitter { fill: rgb(139, 251, 255); }
.social-v2-container .card4:hover .twitch { fill: rgb(225, 52, 255); }
.social-v2-container .card1:hover { transform: translate(-5px, -5px); background: rgb(161, 0, 0); }
.social-v2-container .card2:hover { transform: translate(5px, -5px); background: rgb(0, 40, 198); }
.social-v2-container .card3:hover { transform: translate(-5px, 5px); background: rgb(0, 160, 166); }
.social-v2-container .card4:hover { transform: translate(5px, 5px); background: rgb(169, 0, 199); }
<div class="social-v2-container">
<div class="main">
<div class="up">
<button class="card1">
<svg height="50" width="50" viewBox="0 0 100 90" xmlns="http://www.w3.org/2000/svg">
<path d="m120 60c0 33.1371-26.8629 60-60 60s-60-26.8629-60-60 26.8629-60 60-60 60 26.8629 60 60z" fill="#ffffff00"></path>
<path class="youtube" d="m25 49c0-7.732 6.268-14 14-14h42c7.732 0 14 6.268 14 14v22c0 7.732-6.268 14-14 14h-42c-7.732 0-14-6.268-14-14z" fill="#fff"></path>
<path class="youtube_center_Icon" d="m74 59.5-21 10.8253v-21.6506z" fill="black"></path>
</svg>
</button>
<button class="card2">
<svg height="50" width="50" viewBox="0 0 60 32" xmlns="http://www.w3.org/2000/svg">
<path class="discord" d="M40,12c0,0-4.585-3.588-10-4l-0.488,0.976C34.408,10.174,36.654,11.891,39,14c-4.045-2.065-8.039-4-15-4s-10.955,1.935-15,4c2.346-2.109,5.018-4.015,9.488-5.024L18,8c-5.681,0.537-10,4-10,4s-5.121,7.425-6,22c5.162,5.953,13,6,13,6l1.639-2.185C13.857,36.848,10.715,35.121,8,32c3.238,2.45,8.125,5,16,5s12.762-2.55,16-5c-2.715,3.121-5.857,4.848-8.639,5.815L33,40c0,0,7.838-0.047,13-6C45.121,19.425,40,12,40,12z M17.5,30c-1.933,0-3.5-1.791-3.5-4c0-2.209,1.567-4,3.5-4s3.5,1.791,3.5,4C21,28.209,19.433,30,17.5,30z M30.5,30c-1.933,0-3.5-1.791-3.5-4c0-2.209,1.567-4,3.5-4s3.5,1.791,3.5,4C34,28.209,32.433,30,30.5,30z" fill="azure"></path>
</svg>
</button>
</div>
<div class="down">
<button class="card3">
<svg width="50" height="50" viewBox="0 0 34 50" xmlns="http://www.w3.org/2000/svg">
<path class="twitter" d="M42,12.429c-1.323,0.586-2.746,0.977-4.247,1.162c1.526-0.906,2.7-2.351,3.251-4.058c-1.428,0.837-3.01,1.452-4.693,1.776C34.967,9.884,33.05,9,30.926,9c-4.08,0-7.387,3.278-7.387,7.32c0,0.572,0.067,1.129,0.193,1.67c-6.138-0.308-11.582-3.226-15.224-7.654c-0.64,1.082-1,2.349-1,3.686c0,2.541,1.301,4.778,3.285,6.096c-1.211-0.037-2.351-0.374-3.349-0.914c0,0.022,0,0.055,0,0.086c0,3.551,2.547,6.508,5.923,7.181c-0.617,0.169-1.269,0.263-1.941,0.263c-0.477,0-0.942-0.054-1.392-0.135c0.94,2.902,3.667,5.023,6.898,5.086c-2.528,1.96-5.712,3.134-9.174,3.134c-0.598,0-1.183-0.034-1.761-0.104C9.268,36.786,13.152,38,17.321,38c13.585,0,21.017-11.156,21.017-20.834c0-0.317-0.01-0.633-0.025-0.945C39.763,15.197,41.013,13.905,42,12.429" fill="azure"></path>
</svg>
</button>
<button class="card4">
<svg width="40" height="40" viewBox="0 0 612 530" xmlns="http://www.w3.org/2000/svg">
<path class="twitch" d="M391.17,103.47H352.54v109.7h38.63ZM285,103H246.37V212.75H285ZM120.83,0,24.31,91.42V420.58H140.14V512l96.53-91.42h77.25L487.69,256V0ZM449.07,237.75l-77.22,73.12H294.61l-67.6,64v-64H140.14V36.58H449.07Z" fill="azure"></path>
</svg>
</button>
</div>
</div>
</div>
احصل على الكود
#3
SOCIAL
.social-v3-container {
display: flex;
align-items: center;
justify-content: center;
direction: ltr;
}
.social-v3-container .main {
display: flex;
flex-direction: column;
gap: 0.5em;
}
.social-v3-container .up {
display: flex;
flex-direction: row;
gap: 0.5em;
transform-style: preserve-3d;
perspective: 200px;
}
.social-v3-container .down {
display: flex;
flex-direction: row;
gap: 0.5em;
}
.social-v3-container .card1,
.social-v3-container .card2,
.social-v3-container .card3,
.social-v3-container .card4 {
width: 90px;
height: 90px;
outline: none;
border: none;
background: transparent;
box-shadow: inset 2px 2px 2px #fff,
inset -2px -2px 2px #4442,
2px 2px 5px #4442;
transition: 0.2s ease-in-out;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}
.social-v3-container .card1 { border-radius: 90px 5px 5px 5px; transform-origin: 100% 100%; }
.social-v3-container .card2 { border-radius: 5px 90px 5px 5px; }
.social-v3-container .card3 { border-radius: 5px 5px 5px 90px; }
.social-v3-container .card4 { border-radius: 5px 5px 90px 5px; }
.social-v3-container .instagram { fill: #cc39a4; }
.social-v3-container .twitter { fill: #03a9f4; }
.social-v3-container .github { fill: #333; }
.social-v3-container .discord { fill: #8c9eff; }
.social-v3-container .card1:active,
.social-v3-container .card2:active,
.social-v3-container .card3:active,
.social-v3-container .card4:active {
box-shadow: inset 4px 4px 8px #4442,
inset -2px -2px 2px #fff;
}
.social-v3-container .card1:hover { transform: translate(-5px, -5px); }
.social-v3-container .card2:hover { transform: translate(5px, -5px); }
.social-v3-container .card3:hover { transform: translate(-5px, 5px); }
.social-v3-container .card4:hover { transform: translate(5px, 5px); }
<div class="social-v3-container">
<div class="main">
<div class="up">
<button class="card1">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0,0,256,256" width="30px" height="30px" fill-rule="nonzero" class="instagram">
<g fill-rule="nonzero" stroke="none" stroke-width="1" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="10" stroke-dasharray="" stroke-dashoffset="0" font-family="none" font-weight="none" font-size="none" text-anchor="none" style="mix-blend-mode: normal">
<g transform="scale(8,8)">
<path d="M11.46875,5c-3.55078,0 -6.46875,2.91406 -6.46875,6.46875v9.0625c0,3.55078 2.91406,6.46875 6.46875,6.46875h9.0625c3.55078,0 6.46875,-2.91406 6.46875,-6.46875v-9.0625c0,-3.55078 -2.91406,-6.46875 -6.46875,-6.46875zM11.46875,7h9.0625c2.47266,0 4.46875,1.99609 4.46875,4.46875v9.0625c0,2.47266 -1.99609,4.46875 -4.46875,4.46875h-9.0625c-2.47266,0 -4.46875,-1.99609 -4.46875,-4.46875v-9.0625c0,-2.47266 1.99609,-4.46875 4.46875,-4.46875zM21.90625,9.1875c-0.50391,0 -0.90625,0.40234 -0.90625,0.90625c0,0.50391 0.40234,0.90625 0.90625,0.90625c0.50391,0 0.90625,-0.40234 0.90625,-0.90625c0,-0.50391 -0.40234,-0.90625 -0.90625,-0.90625zM16,10c-3.30078,0 -6,2.69922 -6,6c0,3.30078 2.69922,6 6,6c3.30078,0 6,-2.69922 6,-6c0,-3.30078 -2.69922,-6 -6,-6zM16,12c2.22266,0 4,1.77734 4,4c0,2.22266 -1.77734,4 -4,4c-2.22266,0 -4,-1.77734 -4,-4c0,-2.20914 1.77734,-4 4,-4z"></path>
</g>
</g>
</svg>
</button>
<button class="card2">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" width="30px" height="30px" class="twitter">
<path d="M42,12.429c-1.323,0.586-2.746,0.977-4.247,1.162c1.526-0.906,2.7-2.351,3.251-4.058c-1.428,0.837-3.01,1.452-4.693,1.776C34.967,9.884,33.05,9,30.926,9c-4.08,0-7.387,3.278-7.387,7.32c0,0.572,0.067,1.129,0.193,1.67c-6.138-0.308-11.582-3.226-15.224-7.654c-0.64,1.082-1,2.349-1,3.686c0,2.541,1.301,4.778,3.285,6.096c-1.211-0.037-2.351-0.374-3.349-0.914c0,0.022,0,0.055,0,0.086c0,3.551,2.547,6.508,5.923,7.181c-0.617,0.169-1.269,0.263-1.941,0.263c-0.477,0-0.942-0.054-1.392-0.135c0.94,2.902,3.667,5.023,6.898,5.086c-2.528,1.96-5.712,3.134-9.174,3.134c-0.598,0-1.183-0.034-1.761-0.104C9.268,36.786,13.152,38,17.321,38c13.585,0,21.017-11.156,21.017-20.834c0-0.317-0.01-0.633-0.025-0.945C39.763,15.197,41.013,13.905,42,12.429"></path>
</svg>
</button>
</div>
<div class="down">
<button class="card3">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30" width="30px" height="30px" class="github">
<path d="M15,3C8.373,3,3,8.373,3,15c0,5.623,3.872,10.328,9.092,11.63C12.036,26.468,12,26.28,12,26.047v-2.051 c-0.487,0-1.303,0-1.508,0c-0.821,0-1.551-0.353-1.905-1.009c-0.393-0.729-0.461-1.844-1.435-2.526 c-0.289-0.227-0.069-0.486,0.264-0.451c0.615,0.174,1.125,0.596,1.605,1.222c0.478,0.627,0.703,0.769,1.596,0.769 c0.433,0,1.081-0.025,1.691-0.121c0.328-0.833,0.895-1.6,1.588-1.962c-3.996-0.411-5.903-2.399-5.903-5.098 c0-1.162,0.495-2.286,1.336-3.233C9.053,10.647,8.706,8.73,9.435,8c1.798,0,2.885,1.166,3.146,1.481C13.477,9.174,14.461,9,15.495,9 c1.036,0,2.024,0.174,2.922,0.483C18.675,9.17,19.763,8,21.565,8c0.732,0.731,0.381,2.656,0.102,3.594 c0.836,0.945,1.328,2.066,1.328,3.226c0,2.697-1.904,4.684-5.894,5.097C18.199,20.49,19,22.1,19,23.313v2.734 c0,0.104-0.023,0.179-0.035,0.268C23.641,24.676,27,20.236,27,15C27,8.373,21.627,3,15,3z"></path>
</svg>
</button>
<button class="card4">
<svg height="30px" width="30px" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg" class="discord">
<path d="M40,12c0,0-4.585-3.588-10-4l-0.488,0.976C34.408,10.174,36.654,11.891,39,14c-4.045-2.065-8.039-4-15-4s-10.955,1.935-15,4c2.346-2.109,5.018-4.015,9.488-5.024L18,8c-5.681,0.537-10,4-10,4s-5.121,7.425-6,22c5.162,5.953,13,6,13,6l1.639-2.185C13.857,36.848,10.715,35.121,8,32c3.238,2.45,8.125,5,16,5s12.762-2.55,16-5c-2.715,3.121-5.857,4.848-8.639,5.815L33,40c0,0,7.838-0.047,13-6C45.121,19.425,40,12,40,12z M17.5,30c-1.933,0-3.5-1.791-3.5-4c0-2.209,1.567-4,3.5-4s3.5,1.791,3.5,4C21,28.209,19.433,30,17.5,30z M30.5,30c-1.933,0-3.5-1.791-3.5-4c0-2.209,1.567-4,3.5-4s3.5,1.791,3.5,4C34,28.209,32.433,30,30.5,30z"></path>
</svg>
</button>
</div>
</div>
</div>
احصل على الكود
#4
SOCIAL
.social-v4-container {
display: flex;
align-items: center;
justify-content: center;
direction: ltr;
}
.social-v4-container .main {
display: flex;
flex-direction: column;
gap: 0.5em;
}
.social-v4-container .up,
.social-v4-container .down {
display: flex;
flex-direction: row;
gap: 0.5em;
}
.social-v4-container .card1,
.social-v4-container .card2,
.social-v4-container .card3,
.social-v4-container .card4 {
width: 80px;
height: 80px;
outline: none;
border: none;
background: white;
box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
transition: .2s ease-in-out;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}
.social-v4-container .card1 { border-radius: 80px 5px 5px 5px; }
.social-v4-container .card2 { border-radius: 5px 80px 5px 5px; }
.social-v4-container .card3 { border-radius: 5px 5px 5px 80px; }
.social-v4-container .card4 { border-radius: 5px 5px 80px 5px; }
.social-v4-container .instagram { margin-top: 1.5em; margin-left: 1.2em; fill: #cc39a4; transition: fill 0.2s; }
.social-v4-container .facebook { margin-top: 1.5em; margin-left: -.9em; fill: #03A9F4; transition: fill 0.2s; }
.social-v4-container .whatsapp { margin-top: -.6em; margin-left: 1.2em; fill: #00ff00; transition: fill 0.2s; }
.social-v4-container .gmail { margin-top: -.9em; margin-left: -1.2em; fill: #f14336; transition: fill 0.2s; }
.social-v4-container .card1:hover { scale: 1.1; background-color: #cc39a4; }
.social-v4-container .card1:hover .instagram { fill: white; }
.social-v4-container .card2:hover { scale: 1.1; background-color: #1877f2; }
.social-v4-container .card2:hover .facebook { fill: white; }
.social-v4-container .card3:hover { scale: 1.1; background-color: #00ff00; }
.social-v4-container .card3:hover .whatsapp { fill: white; }
.social-v4-container .card4:hover { scale: 1.1; background-color: #FF0004; }
.social-v4-container .card4:hover .gmail { fill: white; }
<div class="social-v4-container">
<div class="main">
<div class="up">
<button class="card1">
<svg class="instagram" fill-rule="nonzero" height="30px" width="30px" viewBox="0,0,256,256" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg"><g style="mix-blend-mode: normal" text-anchor="none" font-size="none" font-weight="none" font-family="none" stroke-dashoffset="0" stroke-dasharray="" stroke-miterlimit="10" stroke-linejoin="miter" stroke-linecap="butt" stroke-width="1" stroke="none" fill-rule="nonzero"><g transform="scale(8,8)"><path d="M11.46875,5c-3.55078,0 -6.46875,2.91406 -6.46875,6.46875v9.0625c0,3.55078 2.91406,6.46875 6.46875,6.46875h9.0625c3.55078,0 6.46875,-2.91406 6.46875,-6.46875v-9.0625c0,-3.55078 -2.91406,-6.46875 -6.46875,-6.46875zM11.46875,7h9.0625c2.47266,0 4.46875,1.99609 4.46875,4.46875v9.0625c0,2.47266 -1.99609,4.46875 -4.46875,4.46875h-9.0625c-2.47266,0 -4.46875,-1.99609 -4.46875,-4.46875v-9.0625c0,-2.47266 1.99609,-4.46875 4.46875,-4.46875zM21.90625,9.1875c-0.50391,0 -0.90625,0.40234 -0.90625,0.90625c0,0.50391 0.40234,0.90625 0.90625,0.90625c0.50391,0 0.90625,-0.40234 0.90625,-0.90625c0,-0.50391 -0.40234,-0.90625 -0.90625,-0.90625zM16,10c-3.30078,0 -6,2.69922 -6,6c0,3.30078 2.69922,6 6,6c3.30078,0 6,-2.69922 6,-6c0,-3.30078 -2.69922,-6 -6,-6zM16,12c2.22266,0 4,1.77734 4,4c0,2.22266 -1.77734,4 -4,4c-2.22266,0 -4,-1.77734 -4,-4c0,-2.22266 1.77734,-4 4,-4z"></path></g></g></svg>
</button>
<button class="card2">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" height="24" class="facebook" width="24">
<path d="M9.19795 21.5H13.198V13.4901H16.8021L17.198 9.50977H13.198V7.5C13.198 6.94772 13.6457 6.5 14.198 6.5H17.198V2.5H14.198C11.4365 2.5 9.19795 4.73858 9.19795 7.5V9.50977H7.19795L6.80206 13.4901H9.19795V21.5Z"></path>
</svg>
</button>
</div>
<div class="down">
<button class="card3">
<svg width="30" height="30" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" class="whatsapp">
<path d="M19.001 4.908A9.817 9.817 0 0 0 11.992 2C6.534 2 2.085 6.448 2.08 11.908c0 1.748.458 3.45 1.321 4.956L2 22l5.255-1.377a9.916 9.916 0 0 0 4.737 1.206h.005c5.46 0 9.908-4.448 9.913-9.913A9.872 9.872 0 0 0 19 4.908h.001ZM11.992 20.15A8.216 8.216 0 0 1 7.797 19l-.3-.18-3.117.818.833-3.041-.196-.314a8.2 8.2 0 0 1-1.258-4.381c0-4.533 3.696-8.23 8.239-8.23a8.2 8.2 0 0 1 5.825 2.413 8.196 8.196 0 0 1 2.41 5.825c-.006 4.55-3.702 8.24-8.24 8.24Zm4.52-6.167c-.247-.124-1.463-.723-1.692-.808-.228-.08-.394-.123-.556.124-.166.246-.641.808-.784.969-.143.166-.29.185-.537.062-.247-.125-1.045-.385-1.99-1.23-.738-.657-1.232-1.47-1.38-1.716-.142-.247-.013-.38.11-.504.11-.11.247-.29.37-.432.126-.143.167-.248.248-.413.082-.167.043-.31-.018-.433-.063-.124-.557-1.345-.765-1.838-.2-.486-.404-.419-.557-.425-.142-.009-.309-.009-.475-.009a.911.911 0 0 0-.661.31c-.228.247-.864.845-.864 2.067 0 1.22.888 2.395 1.013 2.56.122.167 1.742 2.666 4.229 3.74.587.257 1.05.408 1.41.523.595.19 1.13.162 1.558.1.475-.072 1.464-.6 1.673-1.178.205-.58.205-1.075.142-1.18-.061-.104-.227-.165-.475-.29Z"></path>
</svg>
</button>
<button class="card4">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" height="24" class="gmail" width="24">
<path d="M6 12C6 15.3137 8.68629 18 12 18C14.6124 18 16.8349 16.3304 17.6586 14H12V10H21.8047V14H21.8C20.8734 18.5645 16.8379 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C15.445 2 18.4831 3.742 20.2815 6.39318L17.0039 8.68815C15.9296 7.06812 14.0895 6 12 6C8.68629 6 6 8.68629 6 12Z"></path>
</svg>
</button>
</div>
</div>
</div>
احصل على الكود
#5
SOCIAL
.card {
max-width: fit-content;
border-radius: 15px;
display: flex;
flex-direction: column;
align-content: center;
justify-content: center;
gap: 1rem;
backdrop-filter: blur(15px);
box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.192),
inset 0 0 5px rgba(255, 255, 255, 0.274), 0 5px 5px rgba(0, 0, 0, 0.164);
transition: 0.5s;
}
.card:hover {
animation: ease-out 5s;
background: rgba(173, 173, 173, 0.05);
}
.card ul {
padding: 1rem;
display: flex;
list-style: none;
gap: 1rem;
align-items: center;
justify-content: center;
align-content: center;
flex-wrap: wrap;
flex-direction: column;
}
.card ul li {
cursor: pointer;
}
.svg {
transition: all 0.3s;
padding: 1rem;
height: 60px;
width: 60px;
border-radius: 100%;
color: rgb(255, 174, 0);
fill: currentColor;
box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.3),
inset 0 0 5px rgba(255, 255, 255, 0.5), 0 5px 5px rgba(0, 0, 0, 0.164);
}
.text {
opacity: 0;
border-radius: 5px;
padding: 5px;
transition: all 0.3s;
color: rgb(255, 174, 0);
background-color: rgba(255, 255, 255, 0.3);
position: absolute;
z-index: 9999;
box-shadow: -5px 0 1px rgba(153, 153, 153, 0.2),
-10px 0 1px rgba(153, 153, 153, 0.2),
inset 0 0 20px rgba(255, 255, 255, 0.3),
inset 0 0 5px rgba(255, 255, 255, 0.5), 0 5px 5px rgba(0, 0, 0, 0.082);
}
.iso-pro {
transition: 0.5s;
}
.iso-pro:hover a > .svg {
transform: translate(15px, -15px);
border-radius: 100%;
}
.iso-pro:hover .text {
opacity: 1;
transform: translate(25px, -2px) skew(-5deg);
}
.iso-pro:hover .svg {
transform: translate(5px, -5px);
}
.iso-pro span {
opacity: 0;
position: absolute;
color: #1877f2;
border-color: #1877f2;
box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.3),
inset 0 0 5px rgba(255, 255, 255, 0.5), 0 5px 5px rgba(0, 0, 0, 0.164);
border-radius: 50%;
transition: all 0.3s;
height: 60px;
width: 60px;
}
.iso-pro:hover span {
opacity: 1;
}
.iso-pro:hover span:nth-child(1) {
opacity: 0.2;
}
.iso-pro:hover span:nth-child(2) {
opacity: 0.4;
transform: translate(5px, -5px);
}
.iso-pro:hover span:nth-child(3) {
opacity: 0.6;
transform: translate(10px, -10px);
}
<div class="card">
<ul>
<li class="iso-pro">
<span></span>
<span></span>
<span></span>
<a href="">
<svg
viewBox="0 0 320 512"
xmlns="http://www.w3.org/2000/svg"
class="svg"
>
<path
d="M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"
></path></svg
></a>
<div class="text">Facebook</div>
</li>
<li class="iso-pro">
<span></span>
<span></span>
<span></span>
<a href="">
<svg
class="svg"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 512 512"
>
<path
d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"
></path>
</svg>
</a>
<div class="text">Twitter</div>
</li>
<li class="iso-pro">
<span></span>
<span></span>
<span></span>
<a href="">
<svg
class="svg"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 448 512"
>
<path
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"
></path>
</svg>
</a>
<div class="text">Instagram</div>
</li>
</ul>
</div>
احصل على الكود
#6
SOCIAL
.card {
max-width: fit-content;
border-radius: 15px;
display: flex;
flex-direction: column;
align-content: center;
justify-content: center;
gap: 1rem;
backdrop-filter: blur(15px);
box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.192),
inset 0 0 5px rgba(255, 255, 255, 0.274), 0 5px 5px rgba(0, 0, 0, 0.164);
transition: 0.5s;
}
.card:hover {
animation: ease-out 5s;
background: rgba(173, 173, 173, 0.05);
}
.card ul {
padding: 1rem;
display: flex;
list-style: none;
gap: 1rem;
align-items: center;
justify-content: center;
align-content: center;
flex-wrap: wrap;
flex-direction: column;
}
.card ul li {
cursor: pointer;
}
.svg {
transition: all 0.3s;
padding: 1rem;
height: 60px;
width: 60px;
border-radius: 100%;
color: rgb(0, 157, 162);
fill: currentColor;
box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.3),
inset 0 0 5px rgba(255, 255, 255, 0.5), 0 5px 5px rgba(0, 0, 0, 0.164);
}
.text {
opacity: 0;
border-radius: 5px;
font-weight: bold;
padding: 5px;
transition: all 0.3s;
color: rgb(0, 157, 162);
background-color: rgba(255, 255, 255, 0.3);
position: absolute;
z-index: 9999;
box-shadow: -5px 0 1px rgba(153, 153, 153, 0.2),
-10px 0 1px rgba(153, 153, 153, 0.2),
inset 0 0 20px rgba(255, 255, 255, 0.3),
inset 0 0 5px rgba(255, 255, 255, 0.5), 0 5px 5px rgba(0, 0, 0, 0.082);
}
.iso-pro {
transition: 0.5s;
}
.iso-pro:hover a > .svg {
transform: translate(15px, -15px);
border-radius: 100%;
}
.iso-pro:hover .text {
opacity: 1;
transform: translate(25px, -2px) skew(-5deg);
}
.iso-pro:hover .svg {
transform: translate(5px, -5px);
}
.iso-pro span {
opacity: 0;
position: absolute;
color: #1877f2;
border-color: #1877f2;
box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.3),
inset 0 0 5px rgba(255, 255, 255, 0.5), 0 5px 5px rgba(0, 0, 0, 0.164);
border-radius: 50%;
transition: all 0.3s;
height: 60px;
width: 60px;
}
.iso-pro:hover span {
opacity: 1;
}
.iso-pro:hover span:nth-child(1) {
opacity: 0.2;
}
.iso-pro:hover span:nth-child(2) {
opacity: 0.4;
transform: translate(5px, -5px);
}
.iso-pro:hover span:nth-child(3) {
opacity: 0.6;
transform: translate(10px, -10px);
}
<div class="card">
<ul>
<li class="iso-pro">
<span></span>
<span></span>
<span></span>
<a href="">
<svg
viewBox="0 0 320 512"
xmlns="http://www.w3.org/2000/svg"
class="svg"
>
<path
d="M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"
></path></svg
></a>
<div class="text">Facebook</div>
</li>
<li class="iso-pro">
<span></span>
<span></span>
<span></span>
<a href="">
<svg
class="svg"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 512 512"
>
<path
d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"
></path>
</svg>
</a>
<div class="text">Twitter</div>
</li>
<li class="iso-pro">
<span></span>
<span></span>
<span></span>
<a href="">
<svg
class="svg"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 448 512"
>
<path
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"
></path>
</svg>
</a>
<div class="text">Instagram</div>
</li>
</ul>
</div>
احصل على الكود
#7
SOCIAL
.card {
max-width: fit-content;
border-radius: 15px;
display: flex;
flex-direction: column;
align-content: center;
justify-content: center;
gap: 1rem;
backdrop-filter: blur(15px);
box-shadow:
inset 0 0 20px rgba(255, 255, 255, 0.192),
inset 0 0 5px rgba(255, 255, 255, 0.274),
0 5px 5px rgba(0, 0, 0, 0.164);
transition: 0.5s;
}
.card:hover {
animation: ease-out 5s;
background: rgba(173, 173, 173, 0.05);
}
.card ul {
padding: 1rem;
display: flex;
list-style: none;
gap: 1rem;
align-items: center;
justify-content: center;
align-content: center;
flex-wrap: wrap;
flex-direction: row;
}
.card ul li {
cursor: pointer;
}
.svg {
transition: all 0.3s;
padding: 1rem;
height: 60px;
width: 60px;
border-radius: 100%;
color: rgb(255, 174, 0);
fill: currentColor;
box-shadow:
inset 0 0 20px rgba(255, 255, 255, 0.3),
inset 0 0 5px rgba(255, 255, 255, 0.5),
0 5px 5px rgba(0, 0, 0, 0.164);
}
.text {
opacity: 0;
border-radius: 5px;
padding: 5px;
transition: all 0.3s;
color: rgb(255, 174, 0);
background-color: rgba(255, 255, 255, 0.3);
position: absolute;
z-index: 9999;
box-shadow:
-5px 0 1px rgba(153, 153, 153, 0.2),
-10px 0 1px rgba(153, 153, 153, 0.2),
inset 0 0 20px rgba(255, 255, 255, 0.3),
inset 0 0 5px rgba(255, 255, 255, 0.5),
0 5px 5px rgba(0, 0, 0, 0.082);
}
.iso-pro {
transition: 0.5s;
}
.iso-pro:hover a > .svg {
transform: translate(15px, -15px);
border-radius: 100%;
}
.iso-pro:hover .text {
opacity: 1;
transform: translate(25px, -2px) skew(-5deg);
}
.iso-pro:hover .svg {
transform: translate(5px, -5px);
}
.iso-pro span {
opacity: 0;
position: absolute;
color: #1877f2;
border-color: #1877f2;
box-shadow:
inset 0 0 20px rgba(255, 255, 255, 0.3),
inset 0 0 5px rgba(255, 255, 255, 0.5),
0 5px 5px rgba(0, 0, 0, 0.164);
border-radius: 50%;
transition: all 0.3s;
height: 60px;
width: 60px;
}
.iso-pro:hover span {
opacity: 1;
}
.iso-pro:hover span:nth-child(1) {
opacity: 0.2;
}
.iso-pro:hover span:nth-child(2) {
opacity: 0.4;
transform: translate(5px, -5px);
}
.iso-pro:hover span:nth-child(3) {
opacity: 0.6;
transform: translate(10px, -10px);
}
<div class="card">
<ul>
<li class="iso-pro">
<span></span>
<span></span>
<span></span>
<a href="">
<svg
class="svg"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 320 512"
>
<path
d="M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"
></path></svg
></a>
<div class="text">Facebook</div>
</li>
<li class="iso-pro">
<span></span>
<span></span>
<span></span>
<a href="">
<svg
viewBox="0 0 512 512"
xmlns="http://www.w3.org/2000/svg"
class="svg"
>
<path
d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"
></path>
</svg>
</a>
<div class="text">Twitter</div>
</li>
<li class="iso-pro">
<span></span>
<span></span>
<span></span>
<a href="">
<svg
viewBox="0 0 448 512"
xmlns="http://www.w3.org/2000/svg"
class="svg"
>
<path
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"
></path>
</svg>
</a>
<div class="text">Instagram</div>
</li>
</ul>
</div>