HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URLs added here will be added as <link>
s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
Any URL's added here will be added as <script>
s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
Search for and use JavaScript packages from npm here. By selecting a package, an import
statement will be added to the top of the JavaScript editor for this package.
Using packages here is powered by esm.sh, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ESM usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<body>
<div class="input-fields-v2 component anima-component-wrapper anima-not-ready anima-word-break state1" data-initial-state="state1">
<div class="rectangle">
</div>
<div class="input component anima-component-wrapper anima-not-ready anima-word-break state1" data-initial-state="state1">
<div class="state-view">
</div>
<div class="hoverborder">
<img alt="Image" class="linetl" src="https://anima-uploads.s3.amazonaws.com/5a4bc5c26c7337525cdf6147/5eb32e5249b9ee3b904cbae4/5eb32e52dfdcc1bc07eb161b/img/input-fields-v2-line-tl-3@2x.png"/>
<img alt="Image" class="linebl" src="https://anima-uploads.s3.amazonaws.com/5a4bc5c26c7337525cdf6147/5eb32e5249b9ee3b904cbae4/5eb32e52dfdcc1bc07eb161b/img/input-fields-v2-linebl-2@2x.png"/>
<img alt="Image" class="cornertr" src="https://anima-uploads.s3.amazonaws.com/5a4bc5c26c7337525cdf6147/5eb32e5249b9ee3b904cbae4/5eb32e52dfdcc1bc07eb161b/img/input-fields-v2-corner-tr@2x.png"/>
<img alt="Image" class="cornerbr" src="https://anima-uploads.s3.amazonaws.com/5a4bc5c26c7337525cdf6147/5eb32e5249b9ee3b904cbae4/5eb32e52dfdcc1bc07eb161b/img/input-fields-v2-corner-br-1@2x.png"/>
</div>
<div class="leftbar">
</div>
<img alt="Image" class="search" src="https://anima-uploads.s3.amazonaws.com/5a4bc5c26c7337525cdf6147/5eb32e5249b9ee3b904cbae4/5eb32e52dfdcc1bc07eb161b/img/input-fields-v2-label@2x.png"/>
<div class="iconr">
<img alt="Image" class="bg" src="https://anima-uploads.s3.amazonaws.com/5a4bc5c26c7337525cdf6147/5eb32e5249b9ee3b904cbae4/5eb32e52dfdcc1bc07eb161b/img/input-fields-v2-hit-default@2x.png"/>
<div class="active1">
</div>
<div class="iconsearch">
<div class="background">
</div>
<img alt="Image" class="icsearch" src="https://anima-uploads.s3.amazonaws.com/5a4bc5c26c7337525cdf6147/5eb32e5249b9ee3b904cbae4/5eb32e52dfdcc1bc07eb161b/img/input-fields-v2-icsearch@2x.png"/>
</div>
</div>
</div>
<div class="inputondark component anima-component-wrapper anima-not-ready anima-word-break state1" data-initial-state="state1">
<div class="state-view">
</div>
<div class="hoverborder">
<img alt="Image" class="linetl" src="https://anima-uploads.s3.amazonaws.com/5a4bc5c26c7337525cdf6147/5eb32e5249b9ee3b904cbae4/5eb32e52dfdcc1bc07eb161b/img/input-fields-v2-line-tl-3@2x.png"/>
<img alt="Image" class="linebl" src="https://anima-uploads.s3.amazonaws.com/5a4bc5c26c7337525cdf6147/5eb32e5249b9ee3b904cbae4/5eb32e52dfdcc1bc07eb161b/img/input-fields-v2-linebl-2@2x.png"/>
<img alt="Image" class="cornertr" src="https://anima-uploads.s3.amazonaws.com/5a4bc5c26c7337525cdf6147/5eb32e5249b9ee3b904cbae4/5eb32e52dfdcc1bc07eb161b/img/input-fields-v2-corner-tr@2x.png"/>
<img alt="Image" class="cornerbr" src="https://anima-uploads.s3.amazonaws.com/5a4bc5c26c7337525cdf6147/5eb32e5249b9ee3b904cbae4/5eb32e52dfdcc1bc07eb161b/img/input-fields-v2-corner-br-1@2x.png"/>
</div>
<div class="leftbar">
</div>
<img alt="Image" class="search" src="https://anima-uploads.s3.amazonaws.com/5a4bc5c26c7337525cdf6147/5eb32e5249b9ee3b904cbae4/5eb32e52dfdcc1bc07eb161b/img/input-fields-v2-label-1@2x.png"/>
<div class="iconr">
<img alt="Image" class="bg" src="https://anima-uploads.s3.amazonaws.com/5a4bc5c26c7337525cdf6147/5eb32e5249b9ee3b904cbae4/5eb32e52dfdcc1bc07eb161b/img/input-fields-v2-hit-default-1@2x.png"/>
<div class="active1">
</div>
<div class="iconsearch">
<div class="background1">
</div>
<img alt="Image" class="icsearch1" src="https://anima-uploads.s3.amazonaws.com/5a4bc5c26c7337525cdf6147/5eb32e5249b9ee3b904cbae4/5eb32e52dfdcc1bc07eb161b/img/input-fields-v2-icsearch-1@2x.png"/>
</div>
</div>
</div>
<img alt="Image" class="label2" src="https://anima-uploads.s3.amazonaws.com/5a4bc5c26c7337525cdf6147/5eb32e5249b9ee3b904cbae4/5eb32e52dfdcc1bc07eb161b/img/input-fields-v2-label-3@2x.png"/>
<img alt="Image" class="label3" src="https://anima-uploads.s3.amazonaws.com/5a4bc5c26c7337525cdf6147/5eb32e5249b9ee3b904cbae4/5eb32e52dfdcc1bc07eb161b/img/input-fields-v2-label-3@2x.png"/>
<img alt="Image" class="label" src="https://anima-uploads.s3.amazonaws.com/5a4bc5c26c7337525cdf6147/5eb32e5249b9ee3b904cbae4/5eb32e52dfdcc1bc07eb161b/img/input-fields-v2-label-7@2x.png"/>
<div class="inputonlight component anima-component-wrapper anima-not-ready anima-word-break state1" data-initial-state="state1">
<div class="state-view">
</div>
<div class="hoverborder">
<img alt="Image" class="linetl" src="https://anima-uploads.s3.amazonaws.com/5a4bc5c26c7337525cdf6147/5eb32e5249b9ee3b904cbae4/5eb32e52dfdcc1bc07eb161b/img/input-fields-v2-line-tl-3@2x.png"/>
<img alt="Image" class="linebl" src="https://anima-uploads.s3.amazonaws.com/5a4bc5c26c7337525cdf6147/5eb32e5249b9ee3b904cbae4/5eb32e52dfdcc1bc07eb161b/img/input-fields-v2-linebl-2@2x.png"/>
<img alt="Image" class="cornertr" src="https://anima-uploads.s3.amazonaws.com/5a4bc5c26c7337525cdf6147/5eb32e5249b9ee3b904cbae4/5eb32e52dfdcc1bc07eb161b/img/input-fields-v2-corner-tr@2x.png"/>
<img alt="Image" class="cornerbr" src="https://anima-uploads.s3.amazonaws.com/5a4bc5c26c7337525cdf6147/5eb32e5249b9ee3b904cbae4/5eb32e52dfdcc1bc07eb161b/img/input-fields-v2-corner-br-1@2x.png"/>
</div>
<div class="leftbar">
</div>
<img alt="Image" class="search" src="https://anima-uploads.s3.amazonaws.com/5a4bc5c26c7337525cdf6147/5eb32e5249b9ee3b904cbae4/5eb32e52dfdcc1bc07eb161b/img/input-fields-v2-label-5@2x.png"/>
</div>
<div class="inputondark1 component anima-component-wrapper anima-not-ready anima-word-break state1" data-initial-state="state1">
<div class="state-view">
</div>
<div class="hoverborder">
<img alt="Image" class="linetl" src="https://anima-uploads.s3.amazonaws.com/5a4bc5c26c7337525cdf6147/5eb32e5249b9ee3b904cbae4/5eb32e52dfdcc1bc07eb161b/img/input-fields-v2-line-tl-3@2x.png"/>
<img alt="Image" class="linebl" src="https://anima-uploads.s3.amazonaws.com/5a4bc5c26c7337525cdf6147/5eb32e5249b9ee3b904cbae4/5eb32e52dfdcc1bc07eb161b/img/input-fields-v2-linebl-2@2x.png"/>
<img alt="Image" class="cornertr" src="https://anima-uploads.s3.amazonaws.com/5a4bc5c26c7337525cdf6147/5eb32e5249b9ee3b904cbae4/5eb32e52dfdcc1bc07eb161b/img/input-fields-v2-corner-tr@2x.png"/>
<img alt="Image" class="cornerbr" src="https://anima-uploads.s3.amazonaws.com/5a4bc5c26c7337525cdf6147/5eb32e5249b9ee3b904cbae4/5eb32e52dfdcc1bc07eb161b/img/input-fields-v2-corner-br-1@2x.png"/>
</div>
<div class="leftbar">
</div>
<img alt="Image" class="search" src="https://anima-uploads.s3.amazonaws.com/5a4bc5c26c7337525cdf6147/5eb32e5249b9ee3b904cbae4/5eb32e52dfdcc1bc07eb161b/img/input-fields-v2-label-6@2x.png"/>
</div>
<img alt="Image" class="label1" src="https://anima-uploads.s3.amazonaws.com/5a4bc5c26c7337525cdf6147/5eb32e5249b9ee3b904cbae4/5eb32e52dfdcc1bc07eb161b/img/input-fields-v2-label-7@2x.png"/>
<img alt="Image" class="h3" src="https://anima-uploads.s3.amazonaws.com/5a4bc5c26c7337525cdf6147/5eb32e5249b9ee3b904cbae4/5eb32e52dfdcc1bc07eb161b/img/input-fields-v2-h3@2x.png"/>
<img alt="Image" class="h31" src="https://anima-uploads.s3.amazonaws.com/5a4bc5c26c7337525cdf6147/5eb32e5249b9ee3b904cbae4/5eb32e52dfdcc1bc07eb161b/img/input-fields-v2-h3-1@2x.png"/>
<div class="cover">
</div>
<div class="cover1">
</div>
<div class="cover2">
</div>
<div class="cover3">
</div>
</div>
</body>
.input-fields-v2 * { box-sizing: border-box; }
.input-fields-v2 {
overflow: hidden; background-color: rgba(255, 255, 255, 1.0); width: 1600px; position: relative; height: 443px; transform: rotate(0deg);
}
.input-fields-v2 .rectangle {
background-color: rgba(22, 22, 24, 1.0); top: 0px; height: 252px; width: 1600px; position: absolute; margin: 0; left: 0px; transform: rotate(0deg);
}
.input-fields-v2 .input {
background-color: rgba(255,255,255,0.0); top: 332px; height: 61px; width: 540px; position: absolute; margin: 0; left: 890px; transform: rotate(0deg);
}
.input-fields-v2 .input .state-view {
background-color: rgba(255,255,255,0.0); top: 0.82%; height: 98.36%; box-sizing: border-box; width: 100%; position: absolute; margin: 0; left: 0px; border-style: solid;
border-width: 1px;
border-color: rgba(22, 22, 24, 1.0); transform: rotate(0deg);
}
.input-fields-v2 .input .hoverborder {
background-color: rgba(255,255,255,0.0); top: 0.82%; height: 98.36%; width: 100%; position: absolute; margin: 0; left: 0px; transform: rotate(0deg);
}
.input-fields-v2 .input .hoverborder .linetl {
background-color: rgba(255,255,255,0.0); top: 0px; height: 50.00%; width: 50.00%; position: absolute; margin: 0; left: 0px; transform: rotate(0deg);
}
.input-fields-v2 .input .hoverborder .linebl {
background-color: rgba(255,255,255,0.0); bottom: 0px; height: 50.00%; width: 50.00%; position: absolute; margin: 0; left: 0px; transform: rotate(0deg);
}
.input-fields-v2 .input .hoverborder .cornertr {
background-color: rgba(255,255,255,0.0); right: 0px; top: 0px; height: 50.00%; width: 50.00%; position: absolute; margin: 0; transform: rotate(0deg);
}
.input-fields-v2 .input .hoverborder .cornerbr {
background-color: rgba(255,255,255,0.0); right: 0px; bottom: 0px; height: 50.00%; width: 50.00%; position: absolute; margin: 0; transform: rotate(0deg);
}
.input-fields-v2 .input .leftbar {
background-color: rgba(226, 26, 65, 1.0); top: 0.82%; height: 98.36%; width: 1.85%; position: absolute; margin: 0; left: 0px; transform: rotate(0deg);
}
.input-fields-v2 .input .search {
background-color: rgba(255,255,255,0.0); top: calc(50.00% - 12px); height: 24px; width: calc(100.00% - 480px); position: absolute; margin: 0; left: 30px; transform: rotate(0deg);
}
.input-fields-v2 .input .iconr {
background-color: rgba(255,255,255,0.0); right: 0px; top: calc(50.00% - 31px); height: 61px; width: 60px; position: absolute; margin: 0; transform: rotate(0deg);
}
.input-fields-v2 .input .iconr .bg {
background-color: rgba(255,255,255,0.0); top: 1px; height: 60px; width: 60px; position: absolute; margin: 0; left: 0px; transform: rotate(0deg);
}
.input-fields-v2 .input .iconr .active1 {
background-color: rgba(255,255,255,0.0); top: 1.64%; height: 96.72%; box-sizing: border-box; width: 100%; position: absolute; margin: 0; left: 0px; border-style: solid;
border-width: 1px;
border-color: rgba(226, 26, 65, 0.4); transform: rotate(0deg);
}
.input-fields-v2 .input .iconr .iconsearch {
background-color: rgba(255,255,255,0.0); top: 25.41%; height: 49.18%; width: 50.00%; position: absolute; margin: 0; left: 25.00%; overflow: hidden; transform: rotate(0deg);
}
.input-fields-v2 .input .iconr .iconsearch .background {
background-color: rgba(255,255,255,0.0); top: 0px; height: 100%; width: 100%; position: absolute; margin: 0; left: 0px; transform: rotate(0deg);
}
.input-fields-v2 .input .iconr .iconsearch .icsearch {
background-color: rgba(255,255,255,0.0); top: 21.67%; height: 56.67%; width: 56.67%; position: absolute; margin: 0; left: 21.67%; transform: rotate(0deg);
}
.input-fields-v2 .inputondark {
background-color: rgba(255,255,255,0.0); top: 142px; height: 61px; width: 540px; position: absolute; margin: 0; left: 890px; transform: rotate(0deg);
}
.input-fields-v2 .inputondark .state-view {
background-color: rgba(255,255,255,0.0); top: 0.82%; height: 98.36%; box-sizing: border-box; width: 100%; position: absolute; margin: 0; left: 0px; border-style: solid;
border-width: 1px;
border-color: rgba(255, 255, 255, 1.0); transform: rotate(0deg);
}
.input-fields-v2 .inputondark .hoverborder {
background-color: rgba(255,255,255,0.0); top: 0.82%; height: 98.36%; width: 100%; position: absolute; margin: 0; left: 0px; transform: rotate(0deg);
}
.input-fields-v2 .inputondark .hoverborder .linetl {
background-color: rgba(255,255,255,0.0); top: 0px; height: 50.00%; width: 50.00%; position: absolute; margin: 0; left: 0px; transform: rotate(0deg);
}
.input-fields-v2 .inputondark .hoverborder .linebl {
background-color: rgba(255,255,255,0.0); bottom: 0px; height: 50.00%; width: 50.00%; position: absolute; margin: 0; left: 0px; transform: rotate(0deg);
}
.input-fields-v2 .inputondark .hoverborder .cornertr {
background-color: rgba(255,255,255,0.0); right: 0px; top: 0px; height: 50.00%; width: 50.00%; position: absolute; margin: 0; transform: rotate(0deg);
}
.input-fields-v2 .inputondark .hoverborder .cornerbr {
background-color: rgba(255,255,255,0.0); right: 0px; bottom: 0px; height: 50.00%; width: 50.00%; position: absolute; margin: 0; transform: rotate(0deg);
}
.input-fields-v2 .inputondark .leftbar {
background-color: rgba(226, 26, 65, 1.0); top: 0.82%; height: 98.36%; width: 1.85%; position: absolute; margin: 0; left: 0px; transform: rotate(0deg);
}
.input-fields-v2 .inputondark .search {
background-color: rgba(255,255,255,0.0); top: calc(50.00% - 12px); height: 24px; width: calc(100.00% - 480px); position: absolute; margin: 0; left: 30px; transform: rotate(0deg);
}
.input-fields-v2 .inputondark .iconr {
background-color: rgba(255,255,255,0.0); right: 0px; top: calc(50.00% - 31px); height: 61px; width: 60px; position: absolute; margin: 0; transform: rotate(0deg);
}
.input-fields-v2 .inputondark .iconr .bg {
background-color: rgba(255,255,255,0.0); top: 1px; height: 60px; width: 60px; position: absolute; margin: 0; left: 0px; transform: rotate(0deg);
}
.input-fields-v2 .inputondark .iconr .active1 {
background-color: rgba(255,255,255,0.0); top: 1.64%; height: 96.72%; box-sizing: border-box; width: 100%; position: absolute; margin: 0; left: 0px; border-style: solid;
border-width: 1px;
border-color: rgba(226, 26, 65, 0.4); transform: rotate(0deg);
}
.input-fields-v2 .inputondark .iconr .iconsearch {
background-color: rgba(255,255,255,0.0); top: 25.41%; height: 49.18%; width: 50.00%; position: absolute; margin: 0; left: 25.00%; overflow: hidden; transform: rotate(0deg);
}
.input-fields-v2 .inputondark .iconr .iconsearch .background1 {
background-color: rgba(255,255,255,0.0); top: 0px; height: 100%; width: 100%; position: absolute; margin: 0; left: 0px; transform: rotate(0deg);
}
.input-fields-v2 .inputondark .iconr .iconsearch .icsearch1 {
background-color: rgba(255,255,255,0.0); top: 21.67%; height: 56.67%; width: 56.67%; position: absolute; margin: 0; left: 21.67%; transform: rotate(0deg);
}
.input-fields-v2 .label2 {
background-color: rgba(255,255,255,0.0); top: 302px; height: 16px; width: 444px; position: absolute; margin: 0; left: 889px; transform: rotate(0deg);
}
.input-fields-v2 .label3 {
background-color: rgba(255,255,255,0.0); top: 302px; height: 16px; width: 444px; position: absolute; margin: 0; left: 131px; transform: rotate(0deg);
}
.input-fields-v2 .label {
background-color: rgba(255,255,255,0.0); top: 111px; height: 16px; width: 444px; position: absolute; margin: 0; left: 889px; transform: rotate(0deg);
}
.input-fields-v2 .inputonlight {
background-color: rgba(255,255,255,0.0); top: 333px; height: 60px; width: 540px; position: absolute; margin: 0; left: 130px; transform: rotate(0deg);
}
.input-fields-v2 .inputonlight .state-view {
background-color: rgba(255,255,255,0.0); top: 0px; height: 100%; box-sizing: border-box; width: 100%; position: absolute; margin: 0; left: 0px; border-style: solid;
border-width: 1px;
border-color: rgba(22, 22, 24, 1.0); transform: rotate(0deg);
}
.input-fields-v2 .inputonlight .hoverborder {
background-color: rgba(255,255,255,0.0); top: 0px; height: 100%; width: 100%; position: absolute; margin: 0; left: 0px; transform: rotate(0deg);
}
.input-fields-v2 .inputonlight .hoverborder .linetl {
background-color: rgba(255,255,255,0.0); top: 0px; height: 50.00%; width: 50.00%; position: absolute; margin: 0; left: 0px; transform: rotate(0deg);
}
.input-fields-v2 .inputonlight .hoverborder .linebl {
background-color: rgba(255,255,255,0.0); bottom: 0px; height: 50.00%; width: 50.00%; position: absolute; margin: 0; left: 0px; transform: rotate(0deg);
}
.input-fields-v2 .inputonlight .hoverborder .cornertr {
background-color: rgba(255,255,255,0.0); right: 0px; top: 0px; height: 50.00%; width: 50.00%; position: absolute; margin: 0; transform: rotate(0deg);
}
.input-fields-v2 .inputonlight .hoverborder .cornerbr {
background-color: rgba(255,255,255,0.0); right: 0px; bottom: 0px; height: 50.00%; width: 50.00%; position: absolute; margin: 0; transform: rotate(0deg);
}
.input-fields-v2 .inputonlight .leftbar {
background-color: rgba(226, 26, 65, 1.0); top: 0px; height: 100%; width: 1.85%; position: absolute; margin: 0; left: 0px; transform: rotate(0deg);
}
.input-fields-v2 .inputonlight .search {
background-color: rgba(255,255,255,0.0); top: 28.33%; height: 24px; width: calc(100.00% - 438px); position: absolute; margin: 0; left: 30px; transform: rotate(0deg);
}
.input-fields-v2 .inputondark1 {
background-color: rgba(255,255,255,0.0); top: 142px; height: 60px; width: 540px; position: absolute; margin: 0; left: 130px; transform: rotate(0deg);
}
.input-fields-v2 .inputondark1 .state-view {
background-color: rgba(255,255,255,0.0); top: 0px; height: 100%; box-sizing: border-box; width: 100%; position: absolute; margin: 0; left: 0px; border-style: solid;
border-width: 1px;
border-color: rgba(255, 255, 255, 1.0); transform: rotate(0deg);
}
.input-fields-v2 .inputondark1 .hoverborder {
background-color: rgba(255,255,255,0.0); top: 0px; height: 100%; width: 100%; position: absolute; margin: 0; left: 0px; transform: rotate(0deg);
}
.input-fields-v2 .inputondark1 .hoverborder .linetl {
background-color: rgba(255,255,255,0.0); top: 0px; height: 50.00%; width: 50.00%; position: absolute; margin: 0; left: 0px; transform: rotate(0deg);
}
.input-fields-v2 .inputondark1 .hoverborder .linebl {
background-color: rgba(255,255,255,0.0); bottom: 0px; height: 50.00%; width: 50.00%; position: absolute; margin: 0; left: 0px; transform: rotate(0deg);
}
.input-fields-v2 .inputondark1 .hoverborder .cornertr {
background-color: rgba(255,255,255,0.0); right: 0px; top: 0px; height: 50.00%; width: 50.00%; position: absolute; margin: 0; transform: rotate(0deg);
}
.input-fields-v2 .inputondark1 .hoverborder .cornerbr {
background-color: rgba(255,255,255,0.0); right: 0px; bottom: 0px; height: 50.00%; width: 50.00%; position: absolute; margin: 0; transform: rotate(0deg);
}
.input-fields-v2 .inputondark1 .leftbar {
background-color: rgba(226, 26, 65, 1.0); top: 0px; height: 100%; width: 1.85%; position: absolute; margin: 0; left: 0px; transform: rotate(0deg);
}
.input-fields-v2 .inputondark1 .search {
background-color: rgba(255,255,255,0.0); top: calc(50.00% - 12px); height: 24px; width: calc(100.00% - 438px); position: absolute; margin: 0; left: 30px; transform: rotate(0deg);
}
.input-fields-v2 .label1 {
background-color: rgba(255,255,255,0.0); top: 111px; height: 16px; width: 444px; position: absolute; margin: 0; left: 131px; transform: rotate(0deg);
}
.input-fields-v2 .h3 {
background-color: rgba(255,255,255,0.0); top: 50px; height: 32px; width: 290px; position: absolute; margin: 0; left: 130px; transform: rotate(0deg);
}
.input-fields-v2 .h31 {
background-color: rgba(255,255,255,0.0); top: 50px; height: 32px; width: 413px; position: absolute; margin: 0; left: 888px; transform: rotate(0deg);
}
.input-fields-v2 .cover {
background-color: rgba(22, 22, 24, 1.0); top: 0px; height: 252px; width: 130px; position: absolute; margin: 0; left: 0px; transform: rotate(0deg);
}
.input-fields-v2 .cover1 {
background-color: rgba(255, 255, 255, 1.0); top: 252px; height: 192px; width: 130px; position: absolute; margin: 0; left: 0px; transform: rotate(0deg);
}
.input-fields-v2 .cover2 {
background-color: rgba(22, 22, 24, 1.0); top: 0px; height: 252px; width: 130px; position: absolute; margin: 0; left: 760px; transform: rotate(0deg);
}
.input-fields-v2 .cover3 {
background-color: rgba(255, 255, 255, 1.0); top: 252px; height: 191px; width: 130px; position: absolute; margin: 0; left: 760px; transform: rotate(0deg);
}
.anima-component-wrapper,
.anima-component-wrapper * {
pointer-events: none;
}
.anima-component-wrapper a *,
.anima-component-wrapper a,
.anima-component-wrapper input,
.anima-component-wrapper video,
.anima-component-wrapper iframe,
.anima-listeners-active,
.anima-listeners-active * {
pointer-events: auto;
}
.anima-hidden,
.anima-hidden * {
visibility: hidden;
pointer-events: none;
}
.anima-smart-layers-pointers,
.anima-smart-layers-pointers * {
pointer-events: auto;
visibility: visible;
}
.anima-component-wrapper.anima-not-ready,
.anima-component-wrapper.anima-not-ready * {
visibility: hidden !important;
}
.anima-listeners-active-click,
.anima-listeners-active-click * {
cursor: pointer;
}
.anima-word-break {
overflow-wrap: break-word;
word-wrap: break-word;
word-break: break-all;
word-break: break-word;
}
(() => {
const sides_opposites = {
left: 'right',
right: 'left',
top: 'bottom',
bottom: 'top'
};
const sides_containers = {
left: 'width',
right: 'width',
top: 'height',
bottom: 'height'
};
const containers = ['height', 'width'];
function normalize_to_percent_and_offset(value) {
let percent = 0.0;
let pixel_offset = 0;
const calc_match = value.match(/calc\(\s*([0-9.]*)%\s*([-+])\s*([0-9]*)px/);
if (calc_match) {
percent = parseFloat(calc_match[1]);
pixel_offset = parseInt(calc_match[3]);
if (calc_match[2] === "-") {
pixel_offset = -pixel_offset;
}
} else if (String(value).includes('%')) {
percent = parseFloat(value.replace('%', ''));
} else {
pixel_offset = parseInt(value, 10);
}
return {
percent,
pixel_offset
}
}
/**
* converts px to % for width/height/left/right/top/bottom
* @param element a DOM element
* @param property width/height or direction
* @param value property value in px
*/
function to_relative_percent(element, property, value) {
const offsetParent = element.offsetParent;
if (!offsetParent) {
return 0;
}
let target_style_property = property; // width/height
if (sides_containers.hasOwnProperty(property)) {
target_style_property = sides_containers[property]; //left/right/top/bottom
}
const parent_size = Math.max(1, parseInt(getComputedStyle(offsetParent)[target_style_property], 10));
return parseFloat(100 * value / parent_size);
}
/**
* this funciton changes px positioniong to % and back, keeping the element at the same place
* margins are dissovled into position
* @param element - target element to modify
* @param new_props - next props map e.g.: {width:'100px',left:'10%'} will change element's width by px and left by %...
* ... if the element previosly had 'right', 'right-margin' it will be reomved while keeping element in the same place
*/
function convert_to_matching_positioning(element, new_props) {
const computed_element_style = getComputedStyle(element);
Object.entries(new_props).forEach(([property, value]) => {
if (sides_opposites.hasOwnProperty(property)) {
const to_percent = String(value).includes('%');
let new_prop_value = parseInt(computed_element_style[property], 10) +
parseInt(computed_element_style['margin-' + property], 10);
if (to_percent) {
new_prop_value = to_relative_percent(element, property, new_prop_value).toFixed(4) + '%';
} else {
new_prop_value += 'px';
}
element.style[property] = new_prop_value;
element.style['margin-' + property] = 0;
element.style['margin-' + sides_opposites[property]] = 0;
if (element.style[sides_opposites[property]]) {
element.style[sides_opposites[property]] = 'auto';
}
} else if (containers.includes(property)) {
const to_percent = String(value).includes('%');
let new_prop_value = parseInt(computed_element_style[property]);
if (to_percent) {
new_prop_value = to_relative_percent(element, property, new_prop_value).toFixed(4) + '%';
} else {
new_prop_value += 'px';
}
element.style[property] = new_prop_value;
}
});
}
/** this function sets up listeners. when a listener is activated event_handler is called.
* it returns a cleanup closure which cleans up those listeners when invoked
**/
function setup_listener(root_element, listener_specs, event_handler) {
let cleaner = null;
if (listener_specs.listener_type === "timer") {
const timeout = setTimeout(event_handler, listener_specs.delay);
cleaner = () => clearTimeout(timeout)
} else if (['click', 'mouseenter', 'mouseleave'].includes(listener_specs.listener_type)) {
const target_element = listener_specs.target_selector === "" ? root_element : root_element.querySelector(listener_specs.target_selector);
let event_handler_fixed = (event) => {
if (event.type === 'click' || event.target === target_element) {
event.stopPropagation();
event_handler();
}
};
// these will set pointer-events and cursor for nested elements
target_element.classList.add('anima-listeners-active');
if (listener_specs.listener_type === "click") {
target_element.classList.add('anima-listeners-active-click');
}
target_element.addEventListener(listener_specs.listener_type, event_handler_fixed, true);
cleaner = () => {
target_element.removeEventListener(listener_specs.listener_type, event_handler_fixed, true);
target_element.classList.remove('anima-listeners-active');
target_element.classList.remove('anima-listeners-active-click');
};
}
return cleaner;
}
function animate_elements(root_element, selector_to_properties_map, transition_props) {
Object.entries(selector_to_properties_map).forEach(([selector, prop_values_map]) => {
const element = selector === "" ? root_element : root_element.querySelector(selector);
if (element) {
const update_element_visibility = (visible) => {
if (visible) {
element.classList.toggle("anima-hidden", false)
} else {
element.classList.toggle("anima-hidden", true)
}
};
update_element_visibility(prop_values_map['opacity'] > 0 || getComputedStyle(element).opacity > 0.001 );
// remove current animations, pausing elements in their current state
anime.remove(element);
let full_params = {
...transition_props, // transition properties: easing, duration...
...prop_values_map, // this element's animated properties: width? color? ...
targets: [element],
complete: () => update_element_visibility(getComputedStyle(element).opacity > 0.001)
};
// translate to anime js form
if (prop_values_map.hasOwnProperty("transform")) {
const transform_val = full_params['transform'];
delete full_params['transform'];
transform_val.match(/\S*\([^)]*/g).map((x) => x.split('(')).forEach(([key, val]) => {
full_params[key] = val;
}
);
}
//match css easing curves
if (full_params.hasOwnProperty("easing")) {
const mapping = {
// linear: 'linear',
"ease-in-out": "cubicBezier(0.42, 0, 0.58, 1)",
"ease-in": "cubicBezier(0.42, 0, 1, 1)",
"ease-out": "cubicBezier(0, 0, 0.58, 1)",
};
let ease = full_params["easing"].trim();
if (mapping.hasOwnProperty(ease)) {
ease = mapping[ease];
} else if (ease.startsWith('cubic-bezier')) {
ease = ease.replace('cubic-bezier', 'cubicBezier');
}
full_params["easing"] = ease;
}
// "width", "height",
convert_to_matching_positioning(element, full_params);
Object.keys(sides_opposites).forEach((side) => {
if (full_params.hasOwnProperty(side)) {
const value = full_params[side];
let {percent, pixel_offset} = normalize_to_percent_and_offset(value);
if (Math.abs(percent) < 0.001) {
full_params[side] = pixel_offset + 'px';
} else {
full_params[side] = percent + '%';
full_params['margin-' + side] = pixel_offset + 'px';
}
element.style[sides_opposites[side]] = 'auto';
}
});
containers.forEach((container) => {
if (full_params.hasOwnProperty(container)) {
const value = full_params[container];
let {percent, pixel_offset} = normalize_to_percent_and_offset(value);
if (Math.abs(percent) < 0.001) {
full_params[container] = pixel_offset + 'px';
} else {
if (Math.abs(pixel_offset) > 0) {
// convert pixels to additional percents
percent += to_relative_percent(element, container, pixel_offset);
percent = Math.max(0, percent);
}
full_params[container] = percent + '%';
}
}
});
anime(full_params); // anime js library globally available
}
})
}
function get_changed_properties_between_states(initial_element_state, from_state_element_state, to_state_element_state) {
/**
this function returns a mapping from elements affected by either states
to their properties in 'to_state'
e.g. {"#some_obj": {width: 100, height: 50}}
values changed by 'from_state' are reverted to initial values
**/
let selector_to_props = {};
// set all old state properties back to initial
Object.entries(from_state_element_state).forEach(([selector, properties]) => {
selector_to_props[selector] = selector_to_props[selector] || {};
Object.entries(properties).forEach(([property, value]) => {
selector_to_props[selector][property] = initial_element_state[selector][property];
});
});
// override with new state properties
Object.entries(to_state_element_state).forEach(([selector, properties]) => {
selector_to_props[selector] = selector_to_props[selector] || {};
Object.entries(properties).forEach(([property, value]) => {
selector_to_props[selector][property] = value;
});
});
return selector_to_props;
}
function transitioning_to_state(root_element, initial_properties, states_flow, now_state_name, transition_animation_time) {
/**
* called when a changing to a new state
* registers listeners such as on_click, timers...
* recursively calls itself and remove listeners when a listener is fired
*/
const new_state_flow = states_flow[now_state_name];
// set up new listeners
let listener_cleanup_callbacks = [];
for (const listener_specs of new_state_flow.listeners) {
// this function is only called when the listener is fired
function on_listener_run() {
// remove all current listeners
listener_cleanup_callbacks.forEach(callback => callback());
listener_cleanup_callbacks = [];
const next_state_name = listener_specs.change_to_state;
const this_state_element_state = states_flow[now_state_name].overrides;
const next_state_element_state = states_flow[next_state_name].overrides;
// get all animated properties between the two states
let element_selector_to_changed_properties = get_changed_properties_between_states(initial_properties, this_state_element_state, next_state_element_state);
let longest_animation_time_ms = 0;
Object.entries(listener_specs.animations).forEach(([selector, animation_specs]) => {
let filtered_props = {};
if (element_selector_to_changed_properties.hasOwnProperty(selector)) {
filtered_props[selector] = element_selector_to_changed_properties[selector];
longest_animation_time_ms = Math.max(longest_animation_time_ms, animation_specs.delay + animation_specs.duration);
animate_elements(root_element, filtered_props, animation_specs)
}
});
transitioning_to_state(root_element, initial_properties, states_flow, next_state_name, longest_animation_time_ms);
}
let final_listener_specs = {...listener_specs};
if (listener_specs.listener_type === 'timer') {
// timers should start ticking after animation is over
final_listener_specs.delay += transition_animation_time;
}
const cleanup_callback = setup_listener(root_element, final_listener_specs, on_listener_run);
listener_cleanup_callbacks.push(cleanup_callback);
}
}
function run_when_doc_ready(fn) {
// make sure anime js is loaded and available globally
if (!document.getElementById('anime-js-script')) {
let animejs_element = document.createElement('script');
animejs_element.id = "anime-js-script";
animejs_element.setAttribute('src', 'https://cdn.jsdelivr.net/npm/animejs@3.1.0/lib/anime.min.js');
animejs_element.setAttribute('integrity', 'sha256-98Q574VkbV+PkxXCKSgL6jVq9mrVbS7uCdA+vt0sLS8=');
animejs_element.setAttribute('crossorigin', 'anonymous');
document.head.appendChild(animejs_element);
}
if (window.anime === undefined) {
setTimeout(() => run_when_doc_ready(fn), 50);
return;
}
// see if DOM is already available
if (document.readyState === "complete" || document.readyState === "interactive") {
// call on next available tick
setTimeout(fn, 1);
} else {
document.addEventListener("DOMContentLoaded", fn);
}
}
function load_initial_values(anima_components) {
anima_components.forEach((anima_component) => {
const root_element = document.querySelector(anima_component.root_element);
const states_flow = anima_component.states_flow;
const initial_state_name = anima_component.initial_state_name;
// const initial_properties = anima_component.initial_properties;
let initial_properties = {};
Object.values(anima_component.states_flow).forEach((state_spec) => {
Object.entries(state_spec.overrides).forEach(([selector, properties]) => {
initial_properties[selector] = initial_properties[selector] || {};
const element = selector === "" ? root_element : root_element.querySelector(selector);
Object.keys(properties).forEach((property) => {
initial_properties[selector][property] = element.style[property] ||
property === 'transform' && 'rotate(0deg)' ||
window.getComputedStyle(element)[property];
})
});
});
// set properties to first state
Object.entries(anima_component.states_flow[initial_state_name].overrides).forEach(([selector, properties]) => {
const element = selector === "" ? root_element : root_element.querySelector(selector);
animate_elements(element, {"": properties}, {duration: 0})
});
transitioning_to_state(root_element, initial_properties, states_flow, initial_state_name, 0);
});
document.querySelectorAll('.anima-not-ready').forEach((x) => x.classList.remove('anima-not-ready'));
}
run_when_doc_ready(() => load_initial_values(anima_components));
// each of these describes a timeline
const anima_components = [
{
"initial_state_name": "state1",
"root_element": ".input-fields-v2",
"states_flow": {
"state1": {
"listeners": [],
"overrides": {}
},
"state2": {
"listeners": [],
"overrides": {}
}
}
},
{
"initial_state_name": "state1",
"root_element": ".input-fields-v2 .input",
"states_flow": {
"state1": {
"listeners": [
{
"animations": {
".hoverborder .cornerbr": {
"delay": 0,
"duration": 300,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".hoverborder .cornertr": {
"delay": 0,
"duration": 300,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".hoverborder .linebl": {
"delay": 0,
"duration": 300,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".hoverborder .linetl": {
"delay": 0,
"duration": 300,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".iconr .active1": {
"delay": 100,
"duration": 200,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".iconr .bg": {
"delay": 0,
"duration": 200,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".leftbar": {
"delay": 0,
"duration": 300,
"easing": "ease-out"
},
".state-view": {
"delay": 0,
"duration": 200,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
}
},
"change_to_state": "state2",
"listener_type": "mouseenter",
"target_selector": ""
}
],
"overrides": {
".hoverborder .cornerbr": {
"height": "0px",
"width": "0px"
},
".hoverborder .cornertr": {
"height": "0px",
"width": "0px"
},
".hoverborder .linebl": {
"height": "0px",
"width": "0px"
},
".hoverborder .linetl": {
"height": "0px",
"width": "0px"
},
".iconr .active1": {
"opacity": "0.0"
},
".leftbar": {
"left": "-11px"
}
}
},
"state2": {
"listeners": [
{
"animations": {
".hoverborder .cornerbr": {
"delay": 0,
"duration": 300,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".hoverborder .cornertr": {
"delay": 0,
"duration": 300,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".hoverborder .linebl": {
"delay": 0,
"duration": 300,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".hoverborder .linetl": {
"delay": 0,
"duration": 300,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".iconr .active1": {
"delay": 0,
"duration": 200,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".iconr .bg": {
"delay": 100,
"duration": 200,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".leftbar": {
"delay": 0,
"duration": 300,
"easing": "ease-out"
},
".state-view": {
"delay": 100,
"duration": 200,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
}
},
"change_to_state": "state1",
"listener_type": "mouseleave",
"target_selector": ""
}
],
"overrides": {
".iconr .bg": {
"opacity": "0.0"
},
".state-view": {
"opacity": "0.0"
}
}
}
}
},
{
"initial_state_name": "state1",
"root_element": ".input-fields-v2 .inputondark",
"states_flow": {
"state1": {
"listeners": [
{
"animations": {
".hoverborder .cornerbr": {
"delay": 0,
"duration": 300,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".hoverborder .cornertr": {
"delay": 0,
"duration": 300,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".hoverborder .linebl": {
"delay": 0,
"duration": 300,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".hoverborder .linetl": {
"delay": 0,
"duration": 300,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".iconr .active1": {
"delay": 100,
"duration": 200,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".iconr .bg": {
"delay": 0,
"duration": 200,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".leftbar": {
"delay": 0,
"duration": 300,
"easing": "ease-out"
},
".state-view": {
"delay": 0,
"duration": 200,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
}
},
"change_to_state": "state2",
"listener_type": "mouseenter",
"target_selector": ""
}
],
"overrides": {
".hoverborder .cornerbr": {
"height": "0px",
"width": "0px"
},
".hoverborder .cornertr": {
"height": "0px",
"width": "0px"
},
".hoverborder .linebl": {
"height": "0px",
"width": "0px"
},
".hoverborder .linetl": {
"height": "0px",
"width": "0px"
},
".iconr .active1": {
"opacity": "0.0"
},
".leftbar": {
"height": "100%",
"left": "-11px",
"top": "0px"
}
}
},
"state2": {
"listeners": [
{
"animations": {
".hoverborder .cornerbr": {
"delay": 0,
"duration": 300,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".hoverborder .cornertr": {
"delay": 0,
"duration": 300,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".hoverborder .linebl": {
"delay": 0,
"duration": 300,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".hoverborder .linetl": {
"delay": 0,
"duration": 300,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".iconr .active1": {
"delay": 0,
"duration": 200,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".iconr .bg": {
"delay": 100,
"duration": 200,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".leftbar": {
"delay": 0,
"duration": 300,
"easing": "ease-out"
},
".state-view": {
"delay": 100,
"duration": 200,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
}
},
"change_to_state": "state1",
"listener_type": "mouseleave",
"target_selector": ""
}
],
"overrides": {
".iconr .bg": {
"opacity": "0.0"
},
".state-view": {
"opacity": "0.0"
}
}
}
}
},
{
"initial_state_name": "state1",
"root_element": ".input-fields-v2 .inputonlight",
"states_flow": {
"state1": {
"listeners": [
{
"animations": {
".hoverborder .cornerbr": {
"delay": 0,
"duration": 300,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".hoverborder .cornertr": {
"delay": 0,
"duration": 300,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".hoverborder .linebl": {
"delay": 0,
"duration": 300,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".hoverborder .linetl": {
"delay": 0,
"duration": 300,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".leftbar": {
"delay": 0,
"duration": 300,
"easing": "ease-out"
},
".state-view": {
"delay": 0,
"duration": 200,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
}
},
"change_to_state": "state2",
"listener_type": "mouseenter",
"target_selector": ""
}
],
"overrides": {
".hoverborder .cornerbr": {
"height": "0px",
"width": "0px"
},
".hoverborder .cornertr": {
"height": "0px",
"width": "0px"
},
".hoverborder .linebl": {
"height": "0px",
"width": "0px"
},
".hoverborder .linetl": {
"height": "0px",
"width": "0px"
},
".leftbar": {
"left": "-11px"
}
}
},
"state2": {
"listeners": [
{
"animations": {
".hoverborder .cornerbr": {
"delay": 0,
"duration": 300,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".hoverborder .cornertr": {
"delay": 0,
"duration": 300,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".hoverborder .linebl": {
"delay": 0,
"duration": 300,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".hoverborder .linetl": {
"delay": 0,
"duration": 300,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".leftbar": {
"delay": 0,
"duration": 300,
"easing": "ease-out"
},
".state-view": {
"delay": 100,
"duration": 200,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
}
},
"change_to_state": "state1",
"listener_type": "mouseleave",
"target_selector": ""
}
],
"overrides": {
".state-view": {
"opacity": "0.0"
}
}
}
}
},
{
"initial_state_name": "state1",
"root_element": ".input-fields-v2 .inputondark1",
"states_flow": {
"state1": {
"listeners": [
{
"animations": {
".hoverborder .cornerbr": {
"delay": 0,
"duration": 300,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".hoverborder .cornertr": {
"delay": 0,
"duration": 300,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".hoverborder .linebl": {
"delay": 0,
"duration": 300,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".hoverborder .linetl": {
"delay": 0,
"duration": 300,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".leftbar": {
"delay": 0,
"duration": 300,
"easing": "ease-out"
},
".state-view": {
"delay": 0,
"duration": 200,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
}
},
"change_to_state": "state2",
"listener_type": "mouseenter",
"target_selector": ""
}
],
"overrides": {
".hoverborder .cornerbr": {
"height": "0px",
"width": "0px"
},
".hoverborder .cornertr": {
"height": "0px",
"width": "0px"
},
".hoverborder .linebl": {
"height": "0px",
"width": "0px"
},
".hoverborder .linetl": {
"height": "0px",
"width": "0px"
},
".leftbar": {
"left": "-11px"
}
}
},
"state2": {
"listeners": [
{
"animations": {
".hoverborder .cornerbr": {
"delay": 0,
"duration": 300,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".hoverborder .cornertr": {
"delay": 0,
"duration": 300,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".hoverborder .linebl": {
"delay": 0,
"duration": 300,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".hoverborder .linetl": {
"delay": 0,
"duration": 300,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
},
".leftbar": {
"delay": 0,
"duration": 300,
"easing": "ease-out"
},
".state-view": {
"delay": 100,
"duration": 200,
"easing": "cubic-bezier(0.50, 0.15, 0.50, .85)"
}
},
"change_to_state": "state1",
"listener_type": "mouseleave",
"target_selector": ""
}
],
"overrides": {
".state-view": {
"opacity": "0.0"
}
}
}
}
}
];
})();
Also see: Tab Triggers