html { box-sizing: border-box; font-size: 10px; width: 450px; height: 140px; } *, *:before, *:after { box-sizing: inherit; } body, ul, li { margin: 0; padding: 0; } li { list-style: none; } p, h1, h2, h3, h4, h5, h6 { margin-top: 0; } i { position: relative; top: 0.1em; right: 0.1em; left: 0.1em; background-color: #d65cff00; } a { text-decoration: none; } input { border-style: none; background: transparent; outline: none; } button { padding: 0; background: none; border: none; outline: none; } body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; background-image: radial-gradient( circle at 0% 0%, #373b52, #252736 51%, #1d1e26 ); } p.demo { text-align: center; font-size: 1.6rem; font-weight: normal; margin-top: 1em; color: rgba(202, 205, 239, 0.8); margin-bottom: 3rem; } .demo-flex-spacer { flex-grow: 1; } .container { display: flex; flex-direction: column; height: 100vh; max-width: 1600px; padding: 0 15px; margin: 0 auto; } @keyframes gradient { 0% { background-position: 0 0; } 100% { background-position: 100% 0; } } .webflow-style-input { box-shadow: 0 0 2em 0.09em rgba(0, 0, 0, 0.644); position: relative; display: flex; flex-direction: row; width: 100%; max-width: 400px; margin: 0 auto; border-radius: 2px; padding: 1.4rem 2rem 1.6rem; background: rgba(57, 63, 84, 0.8); } .webflow-style-input:after { content: ""; position: absolute; left: 0px; right: 0px; bottom: 0px; z-index: 999; height: 2px; border-bottom-left-radius: 2px; border-bottom-right-radius: 2px; background-position: 0% 0%; background: linear-gradient( to right, #b294ff, #57e6e6, #feffb8, #57e6e6, #b294ff, #57e6e6 ); background-size: 500% auto; animation: gradient 3s linear infinite; } .webflow-style-input input { flex-grow: 1; color: #bfd2ffbb; font-size: 1.8rem; line-height: 2.4rem; vertical-align: middle; } .webflow-style-input input::-webkit-input-placeholder { color: #7881a1; } .webflow-style-input button { color: #7881a1; font-size: 2.4rem; line-height: 2.4rem; vertical-align: middle; transition: color 0.25s; } .webflow-style-input button:hover { color: #bfd2ff; }