Share toggles
How do I make an share toggles?
Designed by Andrew Cornett on Dribbble.. What is a share toggles? How do you make a share toggles? This script and codes were developed by Rosh Jutherford on 04 September 2022, Sunday.
Share toggles - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Share toggles</title> <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<meta name="viewport" content="width=device-width,initial-scale=1.0, max-scale=1.0, user-scalable=no"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ *,
*:before,
*:after { box-sizing: border-box;
}
html, body { width: 100%; height: 100%; -webkit-font-smoothing: antialiased;
}
html { background: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/25381/blur2.png") no-repeat center center; background-size: cover;
}
nav { width: 15.5rem; height: 5.0rem; margin: 100px auto;
}
nav ul { width: 100%; height: 100%;
}
nav ul:before, nav ul:after { content: ''; display: table;
}
nav ul:after { clear: both;
}
nav ul li { text-align: center; display: block; width: 33.33%; height: 100%; float: left; line-height: 5.5rem; color: rgba(255, 255, 255, 0.3); border-width: 2px 0; border-style: solid; border-color: rgba(255, 255, 255, 0.3); cursor: pointer; transition: color 0.25s ease, border 0.25s ease;
}
nav ul li:first-of-type { border-radius: 50% 0 0 50%; border-left: 2px solid rgba(255, 255, 255, 0.3);
}
nav ul li:last-of-type { border-radius: 0 50% 50% 0; border-right: 2px solid rgba(255, 255, 255, 0.3);
}
nav ul li.selected { color: #8a4fe8; border-color: #8a4fe8;
}
nav ul li i { display: block; width: 100%; height: 100%; font-size: 2.4rem;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <nav role='navigation'> <ul> <li class="selected"><i class="fa fa-twitter"></i></li> <li><i class="fa fa-facebook-square"></i></li> <li><i class="fa fa-instagram"></i></li> </ul>
</nav> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Share toggles - Script Codes CSS Codes
*,
*:before,
*:after { box-sizing: border-box;
}
html, body { width: 100%; height: 100%; -webkit-font-smoothing: antialiased;
}
html { background: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/25381/blur2.png") no-repeat center center; background-size: cover;
}
nav { width: 15.5rem; height: 5.0rem; margin: 100px auto;
}
nav ul { width: 100%; height: 100%;
}
nav ul:before, nav ul:after { content: ''; display: table;
}
nav ul:after { clear: both;
}
nav ul li { text-align: center; display: block; width: 33.33%; height: 100%; float: left; line-height: 5.5rem; color: rgba(255, 255, 255, 0.3); border-width: 2px 0; border-style: solid; border-color: rgba(255, 255, 255, 0.3); cursor: pointer; transition: color 0.25s ease, border 0.25s ease;
}
nav ul li:first-of-type { border-radius: 50% 0 0 50%; border-left: 2px solid rgba(255, 255, 255, 0.3);
}
nav ul li:last-of-type { border-radius: 0 50% 50% 0; border-right: 2px solid rgba(255, 255, 255, 0.3);
}
nav ul li.selected { color: #8a4fe8; border-color: #8a4fe8;
}
nav ul li i { display: block; width: 100%; height: 100%; font-size: 2.4rem;
}
Share toggles - Script Codes JS Codes
$('ul li').on('click',function() { var $this = $(this); $('li').removeClass('selected'); $this.addClass('selected');
});
Developer | Rosh Jutherford |
Username | the_ruther4d |
Uploaded | September 04, 2022 |
Rating | 4 |
Size | 3,574 Kb |
Views | 28,336 |
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 |
Hover effect demo | 2,749 Kb |
IOS7 Icon | 2,313 Kb |
Game-Style Header | 4,486 Kb |
Parallax Canvas Gallery | 12,954 Kb |
Flat Range Sliders | 2,467 Kb |
Pre-loader 1 by Chris Hall | 2,658 Kb |
RvV 2 | 3,115 Kb |
Beautiful Login Form | 2,861 Kb |
Download Button | 4,308 Kb |
A Pen by Rosh Jutherford | 4,410 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 |
Animated Donut Chart | Jplhomer | 3,808 Kb |
Responsive slide | Thorien | 2,400 Kb |
Cool audio | Bigliam | 1,868 Kb |
Template | Indra_z85 | 2,323 Kb |
Another brick in the wall | Fivera | 1,955 Kb |
A Pen by Eka Risyana | Risyana | 3,705 Kb |
CSS Social Media Icon | TychoBlender | 3,871 Kb |
Text Blocks Over Image, Updated | KatieK2 | 3,122 Kb |
Angular-HAML | Cwacht | 2,022 Kb |
Getting Started | Viblast | 1,500 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!