日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 前端技术 > HTML >内容正文

HTML

HTML5语言格式,HTML5 自然语言格式的输入表单

發布時間:2024/9/18 HTML 26 豆豆
生活随笔 收集整理的這篇文章主要介紹了 HTML5语言格式,HTML5 自然语言格式的输入表单 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

CSS

語言:

CSSSCSS

確定

*,

*:before,

*:after {

box-sizing: border-box;

transition: 0.25s ease-in-out;

}

*::selection {

background: #ff202f;

color: white;

}

body {

background-color: #04b8ad;

}

form {

max-width: 500px;

margin: 100px auto 0 auto;

font-family: roboto;

font-weight: 200;

font-size: 40px;

line-height: 60px;

color: white;

}

form .input-container {

border-bottom: 1px dashed #007a73;

color: #007a73;

padding: 6px;

margin-left: -6px;

margin-right: -6px;

display: inline-block;

position: relative;

}

form .input-container.no-overflow {

max-width: 100%;

}

form .input-container.no-overflow .input {

max-width: 100%;

}

form .input-container.no-overflow .input input {

max-width: 100%;

}

form .input-container:hover {

border-bottom: 1px dashed #004f4a;

color: #004f4a;

cursor: pointer;

}

form .input-container.active {

z-index: 5000;

border-bottom: 1px dashed #004f4a;

color: #004f4a;

cursor: default;

}

form .input-container.active:before {

content: '';

display: block;

background-color: rgba(0, 0, 0, 0.3);

position: fixed;

z-index: 0;

width: 100%;

height: 100%;

left: 0;

top: 0;

}

form .input-container.active .input {

visibility: visible;

opacity: 1;

}

form .input-container .newOption {

padding: 6px 46px 6px 6px;

background: white;

position: relative;

}

form .input-container .newOption:hover {

background: #ff202f;

color: white;

}

form .input-container .newOption:hover:after {

color: white !important;

}

form .input-container .newOption.selected:after {

content: '\f00c';

font-family: FontAwesome;

color: #ff202f;

display: block;

top: 0;

right: 0;

height: 72px;

width: 46px;

font-size: 20px;

text-align: center;

line-height: 72px;

position: absolute;

}

form .input-container .placeholder {

position: relative;

z-index: 1;

}

form .input-container .input {

display: block;

visibility: hidden;

position: absolute;

z-index: 2;

top: 0;

left: 0;

opacity: 0;

}

form input[type="text"],

form select[type="text"] {

border: none;

outline: none;

margin: 0;

padding: 6px;

font-weight: 200;

font-size: 40px;

line-height: 60px;

display: block;

}

form input.hidden,

form select.hidden {

position: absolute;

left: -5000px;

}

form button {

display: block;

background: white;

border: none;

padding: 10px 55px 10px 20px;

font-size: 30px;

font-weight: 200;

margin: 30px 0 0 0;

box-shadow: inset 0px 0px 0px #ff202f;

position: relative;

}

form button i {

transition: 0s 0s ease-in-out;

}

form button:after {

content: '\f105';

display: block;

position: absolute;

top: 0;

right: 0;

height: 55px;

width: 55px;

font-family: FontAwesome;

line-height: 55px;

text-align: center;

color: #ff202f;

}

form button:hover {

box-shadow: inset 350px 0 0 #ff202f;

color: white;

cursor: pointer;

}

form button:hover:after {

color: white;

}

總結

以上是生活随笔為你收集整理的HTML5语言格式,HTML5 自然语言格式的输入表单的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。