The wheel of social

Size
4,072 Kb
Views
36,432

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 Previews

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>&#228;</p></a></div> <div class="button button--tw"><a href="#"><p>&#229;</p></a></div> <div class="button button--gp"><a href="#"><p>&#232;</p></a></div> <div class="button button--vm"><a href="#"><p>&#238;</p></a></div> </div> <div class="all"> <div class="all__corner all--fb"><p>&#228;</p></div> <div class="all__corner all--tw"><p>&#229;</p></div> <div class="all__corner all--gp"><p>&#232;</p></div> <div class="all__corner all--vm"><p>&#238;</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"); }
});
The wheel of social - Script Codes
The wheel of social - Script Codes
Home Page Home
Developer Karsten Buckstegge
Username MrBambule
Uploaded September 10, 2022
Rating 3
Size 4,072 Kb
Views 36,432
Do you need developer help for The wheel of social?

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!

Karsten Buckstegge (MrBambule) Script Codes
Create amazing sales emails with AI!

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!