This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*, | |
*::after, | |
*::before { | |
box-sizing: border-box; | |
} | |
:root { | |
font-size: 16px; | |
--color-text: #fafafb; | |
--color-bg: #0b0c0e; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
font-family: Monstserrat, sans-serif; | |
background: #000; | |
color: #fff; | |
overflow: hidden; | |
} | |
.container { | |
display: flex; | |
flex-direction: column; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var btn = document.getElementById('cta'); | |
var btn2 = document.getElementById('cta2'); | |
btn.onclick = function () { | |
var morphing = anime({ | |
targets: '.polymorph', | |
points: [ | |
{ value: '215, 110 0, 110 0, 0 47.7, 0 67, 76' }, | |
{ value: '215, 110 0, 110 0, 0 0, 0 67, 76' } | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
margin: 0; | |
font-family: "Montserrat"; | |
} | |
.polymorph { | |
fill: #398f5a; | |
} | |
#cta, #cta2{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>AnimeJS Demo</title> | |
<link rel="stylesheet" href="style.css"> | |
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@keyframes divAnimation{ | |
0%{ | |
transform: rotate(0) translateY(-15%); | |
opacity: 0; | |
} | |
100%{ | |
transform: rotate(0) translateY(0%); | |
opacity: 1; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body{ | |
background: #f1f1f1; | |
font-family: 'Montserrat', sans-serif; | |
margin: 0; | |
} | |
.container{ | |
background: rgb(103, 170, 89); | |
padding: 5em; | |
color: #fff; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Animate with extension</title> | |
<link rel="stylesheet" href="style.css"> | |
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet"> | |
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import url('https://fonts.googleapis.com/css?family=Montserrat:300,700'); /* import Montserrat font */ | |
body, html{ | |
font-family: 'Montserrat', sans-serif; | |
height: 100; | |
margin: 0; | |
} | |
body{ | |
background: #F4F4F4 url('../assets/candlebg.svg'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>CRYPTS-landing page</title> | |
<link rel="stylesheet" href="css/style.css"> | |
</head> | |
<body> |
NewerOlder