Sliding Skill-Diagramm

Size
2,466 Kb
Views
85,008

How do I make an sliding skill-diagramm?

What is a sliding skill-diagramm? How do you make a sliding skill-diagramm? This script and codes were developed by Karsten Buckstegge on 10 September 2022, Saturday.

Sliding Skill-Diagramm Previews

Sliding Skill-Diagramm - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Sliding Skill-Diagramm</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <html lang="en">
<head> <meta charset="UTF-8" /> <title>Sliding Diagram</title>
</head>
<body> <div class="placeholder">SCROLL!</div> <div class="diagram"> <div class="bar bar1 bar--in"><span class="bar--in">Video</span></div> <div class="bar bar2 bar--in"><span class="bar--in">JS</span></div> <div class="bar bar3 bar--in"><span class="bar--in">Design</span></div> <div class="bar bar4 bar--in"><span class="bar--in">Usability</span></div> <div class="bar bar5 bar--in"><span class="bar--in">CSS / HTML</span></div> </div>
</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>

Sliding Skill-Diagramm - Script Codes CSS Codes

.placeholder { height: 400px; padding: 50px;
}
.bar { height: 50px; color: white; margin-bottom: 10px;
}
.bar1 { width: 150px; background: #00A1FF; opacity: 1; -webkit-transition: width 1s ease-in; transition: width 1s ease-in;
}
.bar2 { width: 200px; background: #0081CC; opacity: 1; -webkit-transition: width 1s ease-in; transition: width 1s ease-in;
}
.bar3 { width: 250px; background: #265F7F; opacity: 1; -webkit-transition: width 1s ease-in; transition: width 1s ease-in;
}
.bar4 { width: 300px; background: #4CBDFF; opacity: 1; -webkit-transition: width 1s ease-in; transition: width 1s ease-in;
}
.bar5 { width: 350px; background: #00517F; opacity: 1; -webkit-transition: width 1s ease-in; transition: width 1s ease-in;
}
.bar span { top: 15px; left: 30px; position: relative;
}
.bar--in { width: 10px; opacity: 0.2;
}

Sliding Skill-Diagramm - Script Codes JS Codes

$(document).ready(function() { $(window).scroll(function() { var scroll = $(window).scrollTop(); if (scroll >= 300) { $(".bar--in").removeClass("bar--in"); } else if (scroll <= 300) { $(".bar").addClass("bar--in"); } });
});
Sliding Skill-Diagramm - Script Codes
Sliding Skill-Diagramm - Script Codes
Home Page Home
Developer Karsten Buckstegge
Username MrBambule
Uploaded September 10, 2022
Rating 3
Size 2,466 Kb
Views 85,008
Do you need developer help for Sliding Skill-Diagramm?

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 video scripts 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!