The wheel of social
How do I make an the wheel of social?
Animated social media wheel, revealing social buttons when clicked. Used CSS Transitions, SASS and minimal jQuery. . What is a the wheel of social? How do you make a the wheel of social? This script and codes were developed by Karsten Buckstegge on 10 September 2022, Saturday.
The wheel of social - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>The wheel of social</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <!-- TODO: HAML functionality? -->
<html>
<head> <meta charset="UTF-8" /> <title>Get Social</title>
</head>
<body> <section class="main"> <div class="buttons"> <div class="button button--fb"><a href="#"><p>ä</p></a></div> <div class="button button--tw"><a href="#"><p>å</p></a></div> <div class="button button--gp"><a href="#"><p>è</p></a></div> <div class="button button--vm"><a href="#"><p>î</p></a></div> </div> <div class="all"> <div class="all__corner all--fb"><p>ä</p></div> <div class="all__corner all--tw"><p>å</p></div> <div class="all__corner all--gp"><p>è</p></div> <div class="all__corner all--vm"><p>î</p></div> </div> </section>
</body>
</html> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
The wheel of social - Script Codes CSS Codes
html { width: 100%; height: 100%; background: radial-gradient(center, #ffffff 0%, #cccccc 70%, #cccccc 100%) no-repeat; background: -moz-radial-gradient(center, #FFF 0%, #CCC 70%, #CCC 100%) no-repeat; background: -webkit-radial-gradient(center, #FFF 0%, #CCC 70%, #CCC 100%) no-repeat;
}
body { font-family: icon; font-size: 20pt; text-align: center; color: #FFF;
}
section { width: 201px; margin: 50px auto;
}
a, a:hover, a:visited { text-decoration: none; color: #fff;
}
.all { width: 200px; height: 200px; margin-top: -30px; -webkit-transition: all 1s ease; transition: all 1s ease; z-index: 10; position: absolute; cursor: pointer;
}
.all:after { content: " "; width: 20%; height: 20%; top: 40%; left: 40%; background: #FFF; z-index: 11; display: block; position: relative; border-radius: 50%;
}
.all.active { -webkit-transform: rotate(1080deg); transform: rotate(1080deg);
}
.all__corner { width: 50%; height: 50%; float: left; z-index: 5;
}
.all p { margin-top: 30px; opacity: 1; -webkit-transition: all 0.7s ease; transition: all 0.7s ease;
}
.all.active p { opacity: 0;
}
.all--fb { border-radius: 100% 0 0 0; background: #3B5998; background: -webkit-linear-gradient(left top, #4c70ba 0%, #3B5998 70%); background: linear-gradient(to right bottom, #4c70ba 0%, #3b5998 70%);
}
.all--tw { border-radius: 0 100% 0 0; background: #4099FF; background: -webkit-linear-gradient(left top, #73b4ff 0%, #4099FF 70%); background: linear-gradient(to right bottom, #73b4ff 0%, #4099ff 70%);
}
.all--gp { border-radius: 0 0 0 100%; background: #d34836; background: -webkit-linear-gradient(left top, #dc6e60 0%, #d34836 70%); background: linear-gradient(to right bottom, #dc6e60 0%, #d34836 70%);
}
.all--vm { border-radius: 0 0 100% 0; background: #162221; background: -webkit-linear-gradient(left top, #2a413f 0%, #162221 70%); background: linear-gradient(to right bottom, #2a413f 0%, #162221 70%);
}
.buttons { z-index: -1;
}
.button { width: 50px; height: 50px; margin-top: 50px; left: 45%; background: #111; float: left; position: absolute; z-index: -1;
}
.button p { font-size: 35px; margin-top: 5px;
}
.button.active { margin-top: 200px;
}
.button--vm { background: #162221; border-radius: 8px; -webkit-transition: all 0.4s 0.1s; transition: all 0.4s 0.1s;
}
.button--vm.active { margin-top: 200px; left: 80%;
}
.button--gp { background: #d34836; border-radius: 8px; -webkit-transition: all 0.4s 0.2s; transition: all 0.4s 0.2s;
}
.button--gp.active { margin-top: 200px; left: 60%;
}
.button--tw { background: #4099FF; border-radius: 8px; -webkit-transition: all 0.4s 0.3s; transition: all 0.4s 0.3s;
}
.button--tw.active { margin-top: 200px; left: 40%;
}
.button--fb { background: #3B5998; border-radius: 8px; -webkit-transition: all 0.4s 0.4s; transition: all 0.4s 0.4s;
}
.button--fb.active { margin-top: 200px; left: 20%;
}
/**
* Icon font from justbenicestudio.com
*/
@font-face { font-family: icon; src: url("http://www.justbenicestudio.com/assets/fonts/WebSymbolsLiga-Regular.otf");
}
The wheel of social - Script Codes JS Codes
$(".all").click(function(){ if ($(".all").hasClass("active")){ $(this).removeClass("active"); $(".button").removeClass("active"); } else { $(this).addClass("active"); $(".button").addClass("active"); }
});
Developer | Karsten Buckstegge |
Username | MrBambule |
Uploaded | September 10, 2022 |
Rating | 3 |
Size | 4,072 Kb |
Views | 36,432 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
CSS3 Hover Button | 3,717 Kb |
The wheel of social fortune | 6,570 Kb |
Sliding Skill-Diagramm | 2,466 Kb |
A Pen by Karsten Buckstegge | 3,521 Kb |
Even More Brokener TV | 2,571 Kb |
Scalable animated css menu button | 2,632 Kb |
Freddy the Fly | 4,238 Kb |
Simple React Slider | 4,975 Kb |
Base64 SVG Me | 44,786 Kb |
SeXy buttons | 4,447 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Loading animation | Codeams | 2,408 Kb |
Simple Weather App | Cmwebby | 0 Kb |
Sass Get Function | Lukewatts | 2,155 Kb |
SnappySnippet Test | Elmsoftware | 8,385 Kb |
Sample Profile Screen | OurDailyBread | 5,375 Kb |
A Pen by Xand0r | Xand0r | 1,928 Kb |
Use the Twitchtv JSON API | Roksanaop | 3,561 Kb |
Polygon Logo in CSS | Kai | 3,412 Kb |
A Pen by Andrea Verlicchi | Verlok | 2,018 Kb |
Fluid Grid 12 | Alexoliverwd | 2,309 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!