{"id":1052,"date":"2023-03-29T15:41:07","date_gmt":"2023-03-29T12:41:07","guid":{"rendered":"https:\/\/notes.profidev.online\/?p=1052"},"modified":"2023-04-08T05:08:17","modified_gmt":"2023-04-08T02:08:17","slug":"input-effect","status":"publish","type":"post","link":"https:\/\/notes.profidev.online\/ru\/elements\/1052\/","title":{"rendered":"Input effect"},"content":{"rendered":"<figure class=\"wp-block-video\"><video height=\"646\" style=\"aspect-ratio: 863 \/ 646;\" width=\"863\" controls src=\"https:\/\/notes.profidev.online\/wp-content\/uploads\/2023\/03\/vokoscreenng-2023-03-29_14-35-45.webm\"><\/video><\/figure>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;htmlmixed&quot;,&quot;mime&quot;:&quot;text\/html&quot;,&quot;theme&quot;:&quot;cobalt&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:true,&quot;readOnly&quot;:false,&quot;fileName&quot;:&quot;&quot;,&quot;TrpContentRestriction&quot;:{&quot;restriction_type&quot;:&quot;exclude&quot;,&quot;selected_languages&quot;:[],&quot;panel_open&quot;:true},&quot;language&quot;:&quot;HTML&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;html&quot;}\">&lt;div class=&quot;row&quot;&gt;\n  &lt;p&gt;Click every input.&lt;\/p&gt;\n&lt;\/div&gt;\n&lt;div class=&quot;row&quot;&gt;\n  &lt;span&gt;\n    &lt;input class=&quot;basic-slide&quot; id=&quot;name&quot; type=&quot;text&quot; placeholder=&quot;Your best name&quot; \/&gt;&lt;label for=&quot;name&quot;&gt;Name&lt;\/label&gt;\n  &lt;\/span&gt;\n  &lt;span&gt;\n    &lt;input class=&quot;basic-slide&quot; id=&quot;email&quot; type=&quot;text&quot; placeholder=&quot;Your favorite email&quot; \/&gt;&lt;label for=&quot;email&quot;&gt;Email&lt;\/label&gt;\n  &lt;\/span&gt;\n  &lt;span&gt;\n    &lt;input class=&quot;basic-slide&quot; id=&quot;phone&quot; type=&quot;text&quot; placeholder=&quot;You can trust us&quot; \/&gt;&lt;label for=&quot;phone&quot;&gt;Phone&lt;\/label&gt;\n  &lt;\/span&gt;\n&lt;\/div&gt;\n&lt;div class=&quot;row&quot;&gt;\n  &lt;span&gt;\n    &lt;input class=&quot;clean-slide&quot; id=&quot;age&quot; type=&quot;text&quot; placeholder=&quot;Go for the high score!&quot; \/&gt;&lt;label for=&quot;age&quot;&gt;Age&lt;\/label&gt;\n  &lt;\/span&gt;\n  &lt;span&gt;\n    &lt;input class=&quot;clean-slide&quot; id=&quot;height&quot; type=&quot;text&quot; placeholder=&quot;Heels count&quot; \/&gt;&lt;label for=&quot;height&quot;&gt;Height&lt;\/label&gt;\n  &lt;\/span&gt;\n  &lt;span&gt;\n    &lt;input class=&quot;clean-slide&quot; id=&quot;weight&quot; type=&quot;text&quot; placeholder=&quot;Go ahead and lie&quot; \/&gt;&lt;label for=&quot;weight&quot;&gt;Weight&lt;\/label&gt;\n  &lt;\/span&gt;\n&lt;\/div&gt;\n&lt;div class=&quot;row&quot;&gt;\n  &lt;span&gt;\n    &lt;input class=&quot;gate&quot; id=&quot;class&quot; type=&quot;text&quot; placeholder=&quot;Wizard!&quot; \/&gt;&lt;label for=&quot;class&quot;&gt;Class&lt;\/label&gt;\n  &lt;\/span&gt;\n  &lt;span&gt;\n    &lt;input class=&quot;gate&quot; id=&quot;element&quot; type=&quot;text&quot; placeholder=&quot;Five to choose from&quot; \/&gt;&lt;label for=&quot;element&quot;&gt;Element&lt;\/label&gt;\n  &lt;\/span&gt;\n  &lt;span&gt;\n    &lt;input class=&quot;gate&quot; id=&quot;move&quot; type=&quot;text&quot; placeholder=&quot;Secret book attack!&quot; \/&gt;&lt;label for=&quot;move&quot;&gt;Move&lt;\/label&gt;\n  &lt;\/span&gt;\n&lt;\/div&gt;\n&lt;div class=&quot;row&quot;&gt;\n  &lt;span&gt;\n    &lt;input class=&quot;skinny&quot; id=&quot;english&quot; type=&quot;text&quot; placeholder=&quot;Do you speak it?&quot; \/&gt;&lt;label for=&quot;english&quot;&gt;English&lt;\/label&gt;\n  &lt;\/span&gt;\n  &lt;span&gt;\n    &lt;input class=&quot;skinny&quot; id=&quot;burger&quot; type=&quot;text&quot; placeholder=&quot;A Royale with cheese?&quot; \/&gt;&lt;label for=&quot;burger&quot;&gt;Burger&lt;\/label&gt;\n  &lt;\/span&gt;\n  &lt;span&gt;\n    &lt;input class=&quot;skinny&quot; id=&quot;wallet&quot; type=&quot;text&quot; placeholder=&quot;Bad Mother****er&quot; \/&gt;&lt;label for=&quot;wallet&quot;&gt;Wallet&lt;\/label&gt;\n  &lt;\/span&gt;\n&lt;\/div&gt;\n&lt;div class=&quot;row&quot;&gt;\n  &lt;span&gt;\n    &lt;input class=&quot;slide-up&quot; id=&quot;card&quot; type=&quot;text&quot; placeholder=&quot;Fund me!&quot; \/&gt;&lt;label for=&quot;card&quot;&gt;Credit Card&lt;\/label&gt;\n  &lt;\/span&gt;\n  &lt;span&gt;\n    &lt;input class=&quot;slide-up&quot; id=&quot;expires&quot; type=&quot;text&quot; placeholder=&quot;Month Day, Year&quot; \/&gt;&lt;label for=&quot;expires&quot;&gt;Expires&lt;\/label&gt;\n  &lt;\/span&gt;\n  &lt;span&gt;\n    &lt;input class=&quot;slide-up&quot; id=&quot;security&quot; type=&quot;text&quot; placeholder=&quot;Public&quot; \/&gt;&lt;label for=&quot;security&quot;&gt;Security Code&lt;\/label&gt;\n  &lt;\/span&gt;\n&lt;\/div&gt;\n&lt;div class=&quot;row&quot;&gt;\n  &lt;span&gt;\n    &lt;input class=&quot;card-slide&quot; id=&quot;knock&quot; type=&quot;text&quot; placeholder=&quot;Who&#039;s there?&quot; \/&gt;&lt;label for=&quot;knock&quot;&gt;Knock knock&lt;\/label&gt;\n  &lt;\/span&gt;\n  &lt;span&gt;\n    &lt;input class=&quot;card-slide&quot; id=&quot;max&quot; type=&quot;text&quot; placeholder=&quot;Max who?&quot; \/&gt;&lt;label for=&quot;max&quot;&gt;Max&lt;\/label&gt;\n  &lt;\/span&gt;\n  &lt;span&gt;\n    &lt;input class=&quot;card-slide&quot; id=&quot;out&quot; type=&quot;text&quot; placeholder=&quot;Sunuva...&quot; \/&gt;&lt;label for=&quot;out&quot;&gt;Maxed out card ;)&lt;\/label&gt;\n  &lt;\/span&gt;\n&lt;\/div&gt;\n&lt;div class=&quot;row&quot;&gt;\n  &lt;span&gt;\n    &lt;input class=&quot;swing&quot; id=&quot;artist&quot; type=&quot;text&quot; placeholder=&quot;BO$$&quot; \/&gt;&lt;label for=&quot;artist&quot;&gt;Artist&lt;\/label&gt;\n  &lt;\/span&gt;\n  &lt;span&gt;\n    &lt;input class=&quot;swing&quot; id=&quot;song&quot; type=&quot;text&quot; placeholder=&quot;I don&#039;t give a ****&quot; \/&gt;&lt;label for=&quot;song&quot;&gt;Song&lt;\/label&gt;\n  &lt;\/span&gt;\n  &lt;span&gt;\n    &lt;input class=&quot;swing&quot; id=&quot;eyes&quot; type=&quot;text&quot; placeholder=&quot;Crazy&quot; \/&gt;&lt;label for=&quot;eyes&quot;&gt;Eyes&lt;\/label&gt;\n  &lt;\/span&gt;\n&lt;\/div&gt;\n&lt;div class=&quot;row&quot;&gt;\n  &lt;span&gt;\n    &lt;input class=&quot;balloon&quot; id=&quot;state&quot; type=&quot;text&quot; placeholder=&quot;Liquid, solid, gaseous...&quot; \/&gt;&lt;label for=&quot;state&quot;&gt;State&lt;\/label&gt;\n  &lt;\/span&gt;\n  &lt;span&gt;\n    &lt;input class=&quot;balloon&quot; id=&quot;planet&quot; type=&quot;text&quot; placeholder=&quot;Probably Earth&quot; \/&gt;&lt;label for=&quot;planet&quot;&gt;Planet&lt;\/label&gt;\n  &lt;\/span&gt;\n  &lt;span&gt;\n    &lt;input class=&quot;balloon&quot; id=&quot;galaxy&quot; type=&quot;text&quot; placeholder=&quot;Milky Way?&quot; \/&gt;&lt;label for=&quot;galaxy&quot;&gt;Galaxy&lt;\/label&gt;\n  &lt;\/span&gt;\n&lt;\/div&gt;<\/pre><\/div>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;css&quot;,&quot;mime&quot;:&quot;text\/css&quot;,&quot;theme&quot;:&quot;cobalt&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:true,&quot;readOnly&quot;:false,&quot;fileName&quot;:&quot;&quot;,&quot;TrpContentRestriction&quot;:{&quot;restriction_type&quot;:&quot;exclude&quot;,&quot;selected_languages&quot;:[],&quot;panel_open&quot;:true},&quot;language&quot;:&quot;CSS&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;css&quot;}\">@import url(https:\/\/fonts.googleapis.com\/css?family=Open+Sans:400,700,600,300,800);\n* {\n  box-sizing: border-box;\n}\n\nhtml,\nbody {\n  overflow-x: hidden;\n  font-family: &quot;Open Sans&quot;, sans-serif;\n  font-weight: 300;\n  line-height: 1.4;\n  color: #fff;\n  background: #efefef;\n}\n\n.row {\n  max-width: 800px;\n  margin: 0 auto;\n  padding: 60px 30px;\n  background: #032429;\n  position: relative;\n  z-index: 1;\n  text-align: center;\n}\n.row:before {\n  position: absolute;\n  content: &quot;&quot;;\n  display: block;\n  top: 0;\n  left: -5000px;\n  height: 100%;\n  width: 15000px;\n  z-index: -1;\n  background: inherit;\n}\n.row:first-child {\n  padding: 40px 30px;\n}\n.row:nth-child(2), .row:nth-child(8), .row:nth-child(10) {\n  background: #134A46;\n}\n.row:nth-child(3), .row:nth-child(7) {\n  background: #377D6A;\n}\n.row:nth-child(4), .row:nth-child(6) {\n  background: #7AB893;\n}\n.row:nth-child(5) {\n  background: #B2E3AF;\n}\n.row span {\n  position: relative;\n  display: inline-block;\n  margin: 30px 10px;\n}\n\n.basic-slide {\n  display: inline-block;\n  width: 215px;\n  padding: 10px 0 10px 15px;\n  font-family: &quot;Open Sans&quot;, sans;\n  font-weight: 400;\n  color: #377D6A;\n  background: #efefef;\n  border: 0;\n  border-radius: 3px;\n  outline: 0;\n  text-indent: 70px;\n  transition: all .3s ease-in-out;\n}\n.basic-slide::-webkit-input-placeholder {\n  color: #efefef;\n  text-indent: 0;\n  font-weight: 300;\n}\n.basic-slide + label {\n  display: inline-block;\n  position: absolute;\n  top: 0;\n  left: 0;\n  height: 100%;\n  padding: 10px 15px;\n  text-shadow: 0 1px 0 rgba(19, 74, 70, 0.4);\n  background: #7AB893;\n  transition: all .3s ease-in-out;\n  border-top-left-radius: 3px;\n  border-bottom-left-radius: 3px;\n}\n\n.basic-slide:focus,\n.basic-slide:active {\n  color: #377D6A;\n  text-indent: 0;\n  background: #fff;\n  border-top-left-radius: 0;\n  border-bottom-left-radius: 0;\n}\n.basic-slide:focus::-webkit-input-placeholder,\n.basic-slide:active::-webkit-input-placeholder {\n  color: #aaa;\n}\n.basic-slide:focus + label,\n.basic-slide:active + label {\n  transform: translateX(-100%);\n}\n\n.clean-slide {\n  position: relative;\n  display: inline-block;\n  width: 215px;\n  padding: 10px 0 10px 15px;\n  font-family: &quot;Open Sans&quot;, sans;\n  font-weight: 400;\n  color: #377D6A;\n  background: #efefef;\n  border: 0;\n  border-radius: 3px;\n  outline: 0;\n  text-indent: 60px;\n  transition: all .3s ease-in-out;\n}\n.clean-slide::-webkit-input-placeholder {\n  color: #efefef;\n  text-indent: 0;\n  font-weight: 300;\n}\n.clean-slide + label {\n  display: inline-block;\n  position: absolute;\n  transform: translateX(0);\n  top: 0;\n  left: 0;\n  bottom: 0;\n  padding: 13px 15px;\n  font-size: 11px;\n  font-weight: 700;\n  text-transform: uppercase;\n  color: #032429;\n  text-align: left;\n  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);\n  transition: all .3s ease-in-out, color .3s ease-out;\n  border-top-left-radius: 3px;\n  border-bottom-left-radius: 3px;\n  overflow: hidden;\n}\n.clean-slide + label:after {\n  content: &quot;&quot;;\n  position: absolute;\n  top: 0;\n  right: 100%;\n  bottom: 0;\n  width: 100%;\n  background: #7AB893;\n  z-index: -1;\n  transform: translate(0);\n  transition: all .3s ease-in-out;\n  border-top-left-radius: 3px;\n  border-bottom-left-radius: 3px;\n}\n\n.clean-slide:focus,\n.clean-slide:active {\n  color: #377D6A;\n  text-indent: 0;\n  background: #fff;\n  border-top-left-radius: 0;\n  border-bottom-left-radius: 0;\n}\n.clean-slide:focus::-webkit-input-placeholder,\n.clean-slide:active::-webkit-input-placeholder {\n  color: #aaa;\n}\n.clean-slide:focus + label,\n.clean-slide:active + label {\n  color: #fff;\n  text-shadow: 0 1px 0 rgba(19, 74, 70, 0.4);\n  transform: translateX(-100%);\n}\n.clean-slide:focus + label:after,\n.clean-slide:active + label:after {\n  transform: translate(100%);\n}\n\n.gate {\n  display: inline-block;\n  width: 215px;\n  padding: 10px 0 10px 15px;\n  font-family: &quot;Open Sans&quot;, sans;\n  font-weight: 400;\n  color: #377D6A;\n  background: #efefef;\n  border: 0;\n  border-radius: 3px;\n  outline: 0;\n  text-indent: 65px;\n  transition: all .3s ease-in-out;\n}\n.gate::-webkit-input-placeholder {\n  color: #efefef;\n  text-indent: 0;\n  font-weight: 300;\n}\n.gate + label {\n  display: inline-block;\n  position: absolute;\n  top: 0;\n  left: 0;\n  padding: 10px 15px;\n  text-shadow: 0 1px 0 rgba(19, 74, 70, 0.4);\n  background: #7AB893;\n  transition: all .4s ease-in-out;\n  border-top-left-radius: 3px;\n  border-bottom-left-radius: 3px;\n  transform-origin: left bottom;\n  z-index: 99;\n}\n.gate + label:before, .gate + label:after {\n  content: &quot;&quot;;\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  border-radius: 3px;\n  background: #377D6A;\n  transform-origin: left bottom;\n  transition: all .4s ease-in-out;\n  pointer-events: none;\n  z-index: -1;\n}\n.gate + label:before {\n  background: rgba(3, 36, 41, 0.2);\n  z-index: -2;\n  right: 20%;\n}\n\nspan:nth-child(2) .gate {\n  text-indent: 85px;\n}\n\nspan:nth-child(2) .gate:focus,\nspan:nth-child(2) .gate:active {\n  text-indent: 0;\n}\n\n.gate:focus,\n.gate:active {\n  color: #377D6A;\n  text-indent: 0;\n  background: #fff;\n  border-top-right-radius: 3px;\n  border-bottom-right-radius: 3px;\n}\n.gate:focus::-webkit-input-placeholder,\n.gate:active::-webkit-input-placeholder {\n  color: #aaa;\n}\n.gate:focus + label,\n.gate:active + label {\n  transform: rotate(-66deg);\n  border-radius: 3px;\n}\n.gate:focus + label:before,\n.gate:active + label:before {\n  transform: rotate(10deg);\n}\n\n.skinny {\n  display: inline-block;\n  width: 215px;\n  padding: 10px 0 10px 15px;\n  font-family: &quot;Open Sans&quot;, sans;\n  font-weight: 400;\n  color: #377D6A;\n  background: #efefef;\n  border: 0;\n  border-radius: 3px;\n  outline: 0;\n  text-indent: 75px;\n  transition: all .3s ease-in-out;\n}\n.skinny::-webkit-input-placeholder {\n  color: #efefef;\n  text-indent: 0;\n  font-weight: 300;\n}\n.skinny + label {\n  display: inline-block;\n  position: absolute;\n  transform: translateX(0);\n  top: 0;\n  left: 0;\n  padding: 10px 15px;\n  text-shadow: 0 1px 0 rgba(19, 74, 70, 0.4);\n  transition: all .3s ease-in-out;\n  border-top-left-radius: 3px;\n  border-bottom-left-radius: 3px;\n  overflow: hidden;\n}\n.skinny + label:before, .skinny + label:after {\n  content: &quot;&quot;;\n  position: absolute;\n  right: 0;\n  left: 0;\n  z-index: -1;\n  transition: all .3s ease-in-out;\n}\n.skinny + label:before {\n  top: 5px;\n  bottom: 5px;\n  background: #377D6A;\n  border-top-left-radius: 3px;\n  border-bottom-left-radius: 3px;\n}\n.skinny + label:after {\n  top: 0;\n  bottom: 0;\n  background: #377D6A;\n}\n\n.skinny:focus,\n.skinny:active {\n  color: #377D6A;\n  text-indent: 0;\n  background: #fff;\n}\n.skinny:focus::-webkit-input-placeholder,\n.skinny:active::-webkit-input-placeholder {\n  color: #aaa;\n}\n.skinny:focus + label,\n.skinny:active + label {\n  transform: translateX(-100%);\n}\n.skinny:focus + label:after,\n.skinny:active + label:after {\n  transform: translateX(100%);\n}\n\n.slide-up {\n  display: inline-block;\n  width: 215px;\n  padding: 10px 0 10px 15px;\n  font-family: &quot;Open Sans&quot;, sans;\n  font-weight: 400;\n  color: #377D6A;\n  background: #efefef;\n  border: 0;\n  border-radius: 3px;\n  outline: 0;\n  text-indent: 80px;\n  transition: all .3s ease-in-out;\n}\n.slide-up::-webkit-input-placeholder {\n  color: #efefef;\n  text-indent: 0;\n  font-weight: 300;\n}\n.slide-up + label {\n  display: inline-block;\n  position: absolute;\n  transform: translateX(0);\n  top: 0;\n  left: 0;\n  padding: 10px 15px;\n  text-shadow: 0 1px 0 rgba(19, 74, 70, 0.4);\n  transition: all .3s ease-in-out;\n  border-top-left-radius: 3px;\n  border-bottom-left-radius: 3px;\n  overflow: hidden;\n}\n.slide-up + label:before, .slide-up + label:after {\n  content: &quot;&quot;;\n  position: absolute;\n  right: 0;\n  left: 0;\n  z-index: -1;\n  transition: all .3s ease-in-out;\n}\n.slide-up + label:before {\n  top: 6px;\n  left: 5px;\n  right: 5px;\n  bottom: 6px;\n  background: #377D6A;\n}\n.slide-up + label:after {\n  top: 0;\n  bottom: 0;\n  background: #377D6A;\n}\n\nspan:nth-child(1) .slide-up {\n  text-indent: 105px;\n}\n\nspan:nth-child(3) .slide-up {\n  text-indent: 125px;\n}\n\nspan:nth-child(1) .slide-up:focus,\nspan:nth-child(1) .slide-up:active,\nspan:nth-child(3) .slide-up:focus,\nspan:nth-child(3) .slide-up:active {\n  text-indent: 0;\n}\n\n.slide-up:focus,\n.slide-up:active {\n  color: #377D6A;\n  text-indent: 0;\n  background: #fff;\n}\n.slide-up:focus::-webkit-input-placeholder,\n.slide-up:active::-webkit-input-placeholder {\n  color: #aaa;\n}\n.slide-up:focus + label,\n.slide-up:active + label {\n  transform: translateY(-100%);\n}\n.slide-up:focus + label:before,\n.slide-up:active + label:before {\n  border-radius: 5px;\n}\n.slide-up:focus + label:after,\n.slide-up:active + label:after {\n  transform: translateY(100%);\n}\n\n.card-slide {\n  display: inline-block;\n  width: 215px;\n  padding: 10px 0 10px 15px;\n  font-family: &quot;Open Sans&quot;, sans;\n  font-weight: 400;\n  color: #377D6A;\n  background: #efefef;\n  border: 0;\n  border-radius: 3px;\n  outline: 0;\n  text-indent: 115px;\n  transition: all .3s ease-in-out;\n}\n.card-slide::-webkit-input-placeholder {\n  color: #efefef;\n  text-indent: 0;\n  font-weight: 300;\n}\n.card-slide + label {\n  display: block;\n  position: absolute;\n  top: 0;\n  left: 0;\n  padding: 10px 15px;\n  text-shadow: 0 1px 0 rgba(19, 74, 70, 0.4);\n  background: #7AB893;\n  transition: all .3s ease-in-out;\n  border-top-left-radius: 3px;\n  border-bottom-left-radius: 3px;\n  transform-origin: right center;\n  transform: perspective(300px) scaleX(1) rotateY(0deg);\n}\n\nspan:nth-child(2) .card-slide {\n  text-indent: 55px;\n}\n\nspan:nth-child(3) .card-slide {\n  text-indent: 150px;\n}\n\nspan:nth-child(2) .card-slide:focus,\nspan:nth-child(2) .card-slide:active,\nspan:nth-child(3) .card-slide:focus,\nspan:nth-child(3) .card-slide:active {\n  text-indent: 0;\n}\n\n.card-slide:focus,\n.card-slide:active {\n  color: #377D6A;\n  text-indent: 0;\n  background: #fff;\n  border-top-left-radius: 0;\n  border-bottom-left-radius: 0;\n}\n.card-slide:focus::-webkit-input-placeholder,\n.card-slide:active::-webkit-input-placeholder {\n  color: #aaa;\n}\n.card-slide:focus + label,\n.card-slide:active + label {\n  transform: perspective(600px) translateX(-100%) rotateY(80deg);\n}\n\n.swing {\n  display: inline-block;\n  width: 215px;\n  padding: 10px 0 10px 15px;\n  font-family: &quot;Open Sans&quot;, sans;\n  font-weight: 400;\n  color: #377D6A;\n  background: #efefef;\n  border: 0;\n  border-radius: 3px;\n  outline: 0;\n  text-indent: 60px;\n  transition: all .3s ease-in-out;\n}\n.swing::-webkit-input-placeholder {\n  color: #efefef;\n  text-indent: 0;\n  font-weight: 300;\n}\n.swing + label {\n  display: inline-block;\n  position: absolute;\n  top: 0;\n  left: 0;\n  padding: 10px 15px;\n  text-shadow: 0 1px 0 rgba(19, 74, 70, 0.4);\n  background: #7AB893;\n  border-top-left-radius: 3px;\n  border-bottom-left-radius: 3px;\n  transform-origin: 2px 2px;\n  transform: rotate(0);\n  animation: swing-back .4s 1 ease-in-out;\n}\n\n@keyframes swing {\n  0% {\n    transform: rotate(0);\n  }\n  20% {\n    transform: rotate(116deg);\n  }\n  40% {\n    transform: rotate(60deg);\n  }\n  60% {\n    transform: rotate(98deg);\n  }\n  80% {\n    transform: rotate(76deg);\n  }\n  100% {\n    transform: rotate(82deg);\n  }\n}\n@keyframes swing-back {\n  0% {\n    transform: rotate(82deg);\n  }\n  100% {\n    transform: rotate(0);\n  }\n}\n.swing:focus,\n.swing:active {\n  color: #377D6A;\n  text-indent: 0;\n  background: #fff;\n  border-top-left-radius: 0;\n  border-bottom-left-radius: 0;\n}\n.swing:focus::-webkit-input-placeholder,\n.swing:active::-webkit-input-placeholder {\n  color: #aaa;\n}\n.swing:focus + label,\n.swing:active + label {\n  animation: swing 1.4s 1 ease-in-out;\n  transform: rotate(82deg);\n}\n\n.balloon {\n  display: inline-block;\n  width: 215px;\n  padding: 10px 0 10px 15px;\n  font-family: &quot;Open Sans&quot;, sans;\n  font-weight: 400;\n  color: #377D6A;\n  background: #efefef;\n  border: 0;\n  border-radius: 3px;\n  outline: 0;\n  text-indent: 60px;\n  transition: all .3s ease-in-out;\n}\n.balloon::-webkit-input-placeholder {\n  color: #efefef;\n  text-indent: 0;\n  font-weight: 300;\n}\n.balloon + label {\n  display: inline-block;\n  position: absolute;\n  top: 8px;\n  left: 0;\n  bottom: 8px;\n  padding: 5px 15px;\n  color: #032429;\n  font-size: 11px;\n  font-weight: 700;\n  text-transform: uppercase;\n  text-shadow: 0 1px 0 rgba(19, 74, 70, 0);\n  transition: all .3s ease-in-out;\n  border-radius: 3px;\n  background: rgba(122, 184, 147, 0);\n}\n.balloon + label:after {\n  position: absolute;\n  content: &quot;&quot;;\n  width: 0;\n  height: 0;\n  top: 100%;\n  left: 50%;\n  margin-left: -3px;\n  border-left: 3px solid transparent;\n  border-right: 3px solid transparent;\n  border-top: 3px solid rgba(122, 184, 147, 0);\n  transition: all .3s ease-in-out;\n}\n\n.balloon:focus,\n.balloon:active {\n  color: #377D6A;\n  text-indent: 0;\n  background: #fff;\n}\n.balloon:focus::-webkit-input-placeholder,\n.balloon:active::-webkit-input-placeholder {\n  color: #aaa;\n}\n.balloon:focus + label,\n.balloon:active + label {\n  color: #fff;\n  text-shadow: 0 1px 0 rgba(19, 74, 70, 0.4);\n  background: #7ab893;\n  transform: translateY(-40px);\n}\n.balloon:focus + label:after,\n.balloon:active + label:after {\n  border-top: 4px solid #7ab893;\n}\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":1054,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[16,37],"class_list":["post-1052","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-elements","tag-htmlcss","tag-input"],"_links":{"self":[{"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/posts\/1052","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/comments?post=1052"}],"version-history":[{"count":1,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/posts\/1052\/revisions"}],"predecessor-version":[{"id":1227,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/posts\/1052\/revisions\/1227"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/media\/1054"}],"wp:attachment":[{"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/media?parent=1052"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/categories?post=1052"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/tags?post=1052"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}