css实现不同表情的电源插座效果代码

代码语言:html

所属分类:布局界面

代码描述:css实现不同表情的电源插座效果代码

代码标签: css 不同 表情 电源 插座

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">

    <meta name="viewport" content="width=device-width, initial-scale=1">
    <style>
        *,*:before,*:after {
        	border:0;
        	box-sizing:border-box;
        	margin:0;
        	padding:0
        }
        :root {
        	font-size:calc(18px+(24 - 18) *(100vw - 320px)/(1920 - 320))
        }
        body,input {
        	background-color:#e0f0ff;
        	font:1em "Oxygen",Helvetica,sans-serif;
        	line-height:1.5
        }
        form,fieldset,legend {
        	background-color:inherit
        }
        form {
        	margin:auto;
        	max-width:24em;
        	padding:1.5em .75em 0
        }
        label {
        	display:block
        }
        input {
        	vertical-align:.125em
        }
        fieldset {
        	box-shadow:0 0 0 .1em rgba(0,0,0,0.3);
        	border-radius:.375em;
        	display:inline-block;
        	margin-bottom:1.5em;
        	padding:.75em;
        	width:100%
        }
        legend {
        	font-weight:bold;
        	padding:0 .25em
        }
        .outlet,.face {
        	display:flex;
        	justify-content:cen.........完整代码请登录后点击上方下载按钮下载查看

网友评论0