|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | +<head> |
| 4 | + <meta charset="UTF-8"> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 6 | + <title>Colorful Claymorphism Icons</title> |
| 7 | + |
| 8 | + <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"> |
| 9 | + <style> |
| 10 | + * { |
| 11 | + margin: 0; |
| 12 | + padding: 0; |
| 13 | + box-sizing: border-box; |
| 14 | +} |
| 15 | + |
| 16 | +body { |
| 17 | + display: flex; |
| 18 | + justify-content: center; |
| 19 | + align-items: center; |
| 20 | + height: 100vh; |
| 21 | + background-color: #121212; |
| 22 | +} |
| 23 | + |
| 24 | +.icon-container { |
| 25 | + display: flex; |
| 26 | + gap: 20px; |
| 27 | +} |
| 28 | + |
| 29 | +.icon { |
| 30 | + display: flex; |
| 31 | + justify-content: center; |
| 32 | + align-items: center; |
| 33 | + width: 80px; |
| 34 | + height: 80px; |
| 35 | + border-radius: 15px; |
| 36 | + color: white; |
| 37 | + text-decoration: none; |
| 38 | + transition: transform 0.3s, box-shadow 0.3s; |
| 39 | + font-size: 24px; |
| 40 | + position: relative; |
| 41 | + overflow: hidden; |
| 42 | +} |
| 43 | + |
| 44 | +.icon:hover { |
| 45 | + transform: translateY(-5px); |
| 46 | +} |
| 47 | + |
| 48 | + |
| 49 | +.icon.clay { |
| 50 | + background: #E0E0E0; |
| 51 | + box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.2), |
| 52 | + -2px -3px 10px rgba(255, 255, 255, 0.7); |
| 53 | +} |
| 54 | + |
| 55 | +.icon.twitter { |
| 56 | + background: linear-gradient(135deg, #1DA1F2, #1A91DA); |
| 57 | +} |
| 58 | + |
| 59 | +.icon.facebook { |
| 60 | + background: linear-gradient(135deg, #3b5998, #8b9dc3); |
| 61 | +} |
| 62 | + |
| 63 | +.icon.linkedin { |
| 64 | + background: linear-gradient(135deg, #0077B5, #00A0DC); |
| 65 | +} |
| 66 | + |
| 67 | +.icon.github { |
| 68 | + background: linear-gradient(135deg, #333333, #828282); |
| 69 | +} |
| 70 | + |
| 71 | +.icon.youtube { |
| 72 | + background: linear-gradient(135deg, #FF0000, #FF4444); |
| 73 | +} |
| 74 | + |
| 75 | +.icon.instagram { |
| 76 | + background: linear-gradient(135deg, #E1306C, #F77737, #FD1D1D, #FDCB6E); |
| 77 | +} |
| 78 | + |
| 79 | +.icon:before { |
| 80 | + content: ''; |
| 81 | + position: absolute; |
| 82 | + top: -8px; |
| 83 | + left: -10px; |
| 84 | + width: 100%; |
| 85 | + height: 100%; |
| 86 | + border-radius: 20px; |
| 87 | + background: rgba(255, 255, 255, 0.1); |
| 88 | + box-shadow: inset 5px 5px 6px rgba(0, 0, 0, 0.4), |
| 89 | + inset -5px -5px 6px rgba(255, 255, 255, 0.4); |
| 90 | + transition: transform 0.3s; |
| 91 | +} |
| 92 | + |
| 93 | +.icon:hover:before { |
| 94 | + transform: scale(1.1); |
| 95 | +} |
| 96 | + |
| 97 | + </style> |
| 98 | +</head> |
| 99 | +<body> |
| 100 | + <div class="icon-container"> |
| 101 | + <a href="#" class="icon clay twitter"> |
| 102 | + <i class="fab fa-twitter"></i> |
| 103 | + </a> |
| 104 | + <a href="#" class="icon clay facebook"> |
| 105 | + <i class="fab fa-facebook-f"></i> |
| 106 | + </a> |
| 107 | + <a href="#" class="icon clay linkedin"> |
| 108 | + <i class="fab fa-linkedin-in"></i> |
| 109 | + </a> |
| 110 | + <a href="#" class="icon clay github"> |
| 111 | + <i class="fab fa-github"></i> |
| 112 | + </a> |
| 113 | + <a href="#" class="icon clay youtube"> |
| 114 | + <i class="fab fa-youtube"></i> |
| 115 | + </a> |
| 116 | + |
| 117 | + </div> |
| 118 | +</body> |
| 119 | +</html> |
0 commit comments