Rotate Circle
How do I make an rotate circle?
Simple pen. Click the rotate button to rotate a circle. . What is a rotate circle? How do you make a rotate circle? This script and codes were developed by Sarah Dunlap on 18 January 2023, Wednesday.
Rotate Circle - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Rotate Circle</title> <link rel='stylesheet prefetch' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="container"> <img id="circle" src="http://i1194.photobucket.com/albums/aa365/Sarah_Dunlap/circle2.png" alt="circle"/> <button type="button" id = "click" class="btn btn-default btn-lg">Rotate</button>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Rotate Circle - Script Codes CSS Codes
body {background-color: #e4e4e4;}
.container {text-align:center;}
.button {margin-left: 80px;}
#circle {z-index: -1; position:relative;}
Rotate Circle - Script Codes JS Codes
var degree = 30;
function rotateFunc() { var circle = document.querySelector("#circle"); circle.style.transform = "rotate(" + degree.toString() + "deg)"; degree += 30;
}
document.getElementById("click").addEventListener("click", rotateFunc);
Developer | Sarah Dunlap |
Username | SarahDunlap |
Uploaded | January 18, 2023 |
Rating | 3 |
Size | 1,963 Kb |
Views | 8,096 |
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 |
Cat Clicker | 3,050 Kb |
Colors | 2,573 Kb |
Card Game | 2,804 Kb |
Random Quotes | 2,468 Kb |
Wikipedia Search | 2,382 Kb |
Rock Paper Scissors | 3,290 Kb |
React Weather App | 5,656 Kb |
Tribute | 2,531 Kb |
Angular Clock | 1,974 Kb |
Work in Progress | 3,337 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 |
Login-ng-modal | Heedoo | 3,566 Kb |
Project Euler Problem 17 | Bfillmer | 2,739 Kb |
Feedback Page | TessDiNapoli | 2,836 Kb |
A Pen by lizz | Lizz | 10,068 Kb |
Social buttons | Flacu | 2,022 Kb |
FCC Portfolio | Cmwebby | 4,304 Kb |
Toolbar | Onsen | 5,414 Kb |
Drag and Drop Quiz | Cgspicer | 3,837 Kb |
Simple animated hover effect | Pobee-norris | 3,044 Kb |
Twitch Live Channels | Inkblotty | 4,956 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!