Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .newsletter {
- position: fixed;
- display: inline-block;
- top: -100px;
- left: 50%;
- transform: translate(-50%, -50%);
- width: 100%;
- max-width: 600px;
- box-sizing: border-box;
- z-index: 9999;
- transition: top 1s ease;
- background-color: #ffffff;
- text-align: center;
- padding: 10px 5px;
- border: 2px solid #d0d0d0;
- }
- .newsletter .title {
- position: relative;
- display: inline-block;
- font-family: sans-serif;
- font-weight: bold;
- font-size: 32px;
- color: #646464;
- margin: 20px;
- width: 100%;
- text-align: center;
- }
- .newsletter .description {
- position: relative;
- display: inline-block;
- font-family: sans-serif;
- font-weight: 100;
- font-size: 24px;
- color: #646464;
- margin: 10px 0 20px;
- width: 100%;
- text-align: center;
- }
- .newsletter .input-email {
- position: relative;
- display: inline-block;
- color: #8ec640;
- background-color: transparent;
- border: 2px solid #bbbbbb;
- border-radius: 5px;
- padding: 15px 10px;
- font-family: sans-serif;
- font-weight: bold;
- font-size: 16px;
- width: 70%;
- box-sizing: border-box;
- text-align: center;
- }
- ::-webkit-input-placeholder { /* Chrome */
- color: #c2c2c2;
- }
- :-ms-input-placeholder { /* IE 10+ */
- color: #c2c2c2;
- }
- ::-moz-placeholder { /* Firefox 19+ */
- color: #c2c2c2;
- opacity: 1;
- }
- :-moz-placeholder { /* Firefox 4 - 18 */
- color: #c2c2c2;
- opacity: 1;
- }
- .newsletter .input-submit {
- position: relative;
- display: inline-block;
- color: #ffffff;
- font-family: arial;
- font-weight: bold;
- font-size: 16px;
- text-align: center;
- background-color: #8ec640;
- padding: 15px 10px;
- width: 70%;
- box-sizing: border-box;
- border: 0;
- box-shadow: none;
- outline: none;
- background-position: 0 0;
- border-radius: 5px;
- margin: 10px 0 20px;
- }
- .newsletter input:focus,
- .newsletter input:valid {
- box-shadow: none;
- outline: none;
- background-position: 0 0;
- }
- .newsletter .input-email:focus {
- border: 2px solid #8ec640;
- }
- .newsletter.show {
- top: 50vh;
- }
Advertisement
Add Comment
Please, Sign In to add comment