body { margin: 0; font-size: 1.1em; background: url('../Image/background.jpg'); background-repeat: no-repeat; background-size: 100% 100%; background-attachment: fixed; } .Menu { margin-top: 0%; font-family: 'Lobster Two', cursive; font-size: 3rem; text-shadow: 0px 1px 0px rgba(0, 0, 0, 1); text-align: center; color: rgb(110, 204, 175); } .button { font-family: 'Lobster Two', cursive; font-size: 1.3rem; margin-left: 2%; position: relative; display: inline-flex; text-decoration: none; color: #fff; background-color: #76abe9; padding-left: 2rem; overflow: hidden; z-index: 1; align-items: center; box-shadow: 0px 3px 4px -4px rgba(0, 0, 0, 0.75); } .button::before { content: ""; position: absolute; left: 0; top: 0; transform: scaleX(0); transform-origin: 0 50%; width: 100%; height: 100%; background-color: #4A90E2; z-index: -1; transition: transform 750ms; } .button span { display: flex; align-items: center; justify-content: center; margin-left: 2rem; padding: 1rem; overflow: hidden; background-color: #4A90E2; } .button svg { max-width: 20px; width: 100%; height: auto; max-height: 18px; fill: white; } .button:hover::before { transform: scaleX(1); } .button:hover svg { -webkit-animation: moveArrow 750ms; animation: moveArrow 750ms; } @-webkit-keyframes moveArrow { 0% { transform: translateX(0px); } 49% { transform: translateX(50px); } 50% { transform: translateX(-50px); } 100% { transform: translateX(0px); } } @keyframes moveArrow { 0% { transform: translateX(0px); } 49% { transform: translateX(50px); } 50% { transform: translateX(-50px); } 100% { transform: translateX(0px); } } #SkillBox { font-size: 20px; font-family: 'Indie Flower', cursive; width: 95%; height: auto; margin: 40px auto; background-color: #607d8b; //border: 1px solid #cdcdcd; padding: 10px; border-radius:20px; -o-border-radius:20px; -webkit-border-radius:20px; -ms-border-radius:20px; -moz-border-radius:20px; } #SkillBox img { width: 20%; height: 10%; margin: auto 35%; padding: 10px; } .SkillBar { width: 90%; height: 50px; position: relative; background: rgba(17, 17, 17, .3); margin: 20px auto; } #Skill-HTML { width: 75%; animation: Animate-HTML 4s; -webkit-animation: Animate-HTML 4s; -moz-animation: Animate-HTML 4s; -o-animation: Animate-HTML 4s; height: 50px; position: absolute; background-color: #ea8564; } @keyframes Animate-HTML { from { width: 10px; } to { width: 75%} }@-webkit-keyframes Animate-HTML { from { width: 10px; } to { width: 75%} }@-moz-keyframes Animate-HTML { from { width: 10px; } to { width: 75%} }@-o-keyframes Animate-HTML { from { width: 10px; } to { width: 75%} }#Skill-CSS { animation: Animate-CSS 5s; -webkit-animation: Animate-CSS 5s; -moz-animation: Animate-CSS 5s; -o-animation: Animate-CSS 5s; width: 65%; height: 50px; position: absolute; background-color: #55a69f; } @keyframes Animate-CSS { from { width: 10px; } to { width: 65%} }@-webkit-keyframes Animate-CSS { from { width: 10px; } to { width: 65%} }@-moz-keyframes Animate-CSS { from { width: 10px; } to { width: 65%} }@-o-keyframes Animate-CSS { from { width: 10px; } to { width: 65%} }#Skill-Python { animation: Animate-Python 5s; -webkit-animation: Animate-Python 5s; -moz-animation: Animate-Python 5s; -o-animation: Animate-Python 5s; width: 100%; height: 50px; position: absolute; background-color: #99856d; } @keyframes Animate-Python { from { width: 10px; } to { width: 100%} }@-webkit-keyframes Animate-Python { from { width: 10px; } to { width: 100%} }@-moz-keyframes Animate-Python { from { width: 10px; } to { width: 100%} }@-o-keyframes Animate-Phyton { from { width: 10px; } to { width: 100%} }#Skill-JS { animation: Animate-JS 4s; -webkit-animation: Animate-JS 4s; -moz-animation: Animate-JS 4s; -o-animation: Animate-JS 4s; width: 25%; height: 50px; position: absolute; background-color: #c44e45; } @keyframes Animate-JS { from { width: 10px; } to { width: 25%} }@-webkit-keyframes Animate-JS { from { width: 10px; } to { width: 25%} }@-moz-keyframes Animate-JS { from { width: 10px; } to { width: 25%} }@-o-keyframes Animate-JS { from { width: 10px; } to { width: 25%} }#Skill-Lua { animation: Animate-Lua 4s; -webkit-animation: Animate-Lua 4s; -moz-animation: Animate-Lua 4s; -o-animation: Animate-Lua 4s; width: 90%; height: 50px; position: absolute; background-color: #5aa669; } @keyframes Animate-Lua { from { width: 10px; } to { width: 90%} }@-webkit-keyframes Animate-Lua { from { width: 10px; } to { width: 90%} }@-moz-keyframes Animate-Lua { from { width: 10px; } to { width: 90%} }@-o-keyframes Animate-Lua { from { width: 10px; } to { width: 90%} }#Skill-PHP { animation: Animate-PHP 4s; -webkit-animation: Animate-PHP 4s; -moz-animation: Animate-PHP 4s; -o-animation: Animate-PHP 4s; width: 50%; height: 50px; position: absolute; background-color: #5A69A6; } @keyframes Animate-PHP { from { width: 10px; } to { width: 50%} }@-webkit-keyframes Animate-PHP { from { width: 10px; } to { width: 50%} }@-moz-keyframes Animate-PHP { from { width: 10px; } to { width: 50%} }@-o-keyframes Animate-PHP { from { width: 10px; } to { width: 50%} }#Skill-SQL { animation: Animate-SQL 4s; -webkit-animation: Animate-SQL 4s; -moz-animation: Animate-SQL 4s; -o-animation: Animate-SQL 4s; width: 85%; height: 50px; position: absolute; background-color: #23b1db; } @keyframes Animate-SQL { from { width: 10px; } to { width: 85%} }@-webkit-keyframes Animate-SQL { from { width: 10px; } to { width: 85%} }@-moz-keyframes Animate-SQL { from { width: 10px; } to { width: 85%} }@-o-keyframes Animate-SQL { from { width: 10px; } to { width: 85%} }.Skill-Area { z-index: 1; float: left; //position: absolute; margin-top: 15px; margin-left: 15px; text-shadow: none; color: #fff; //font-family: Lato-Regular, sans-serif; font-size: 18px; } .PercentText { z-index: 3; position: relative; padding-right: 15px; margin-top: 15px; float: right; text-shadow: none; color: #fff; //font-family: Lato-Regular, sans-serif; font-size: 18px; }