html5简介及新增功能介绍

html5简介及新增功能介绍

html5简介及新增功能介绍

html5简介及新增功能介绍

html5简介及新增功能介绍

html5简介及新增功能介绍
html5简介及新增功能介绍

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>audio</title>
</head>
<body>
<audio controls="controls">
    <source src="video/Light.mp3" type="audio/mpeg">
    <source src="video/Light.ogg" type="audio/ogg">
    您的浏览器太low了
</audio>

<video controls muted poster="img/1.png" width="300px" height="300px">
    <source src="video/Light.mp3" type="video/mp3">
    <source src="video/Light.mp3" type="video/ogg">
    您的浏览器太low

</video>
<form action="">

    <ol>
        <li>邮箱:<input type="email"></li>
        <li>网址:<input type="url"></li>
        <li>日期:<input type="date"></li>
        <li>数量:<input type="number"></li>
        <li>日期:<input type="time"></li>
        <li>手机号:<input type="tel"></li>
        <li>搜索:<input type="search"></li>
        <li>颜色:<input type="color"></li>

        <li>不能为空:<input type="text" required="required"></li>
        <li>提示为本:<input type="text" placeholder="啦啦啦  我是卖报的"></li>
        <li>自动获得鼠标焦点:<input type="text" autofocus="autofocus"></li>
        <li><input type="text" autocomplete="on" name="autocomplete"></li>

        <li><input type="submit" value="提交"></li>
    </ol>
    <hr>
</form>
<form action="">
    <ul>
        <li><input type="file" name="" id="" multiple></li>
        <li><input type="submit" value="提交"></li>
    </ul>
</form>
</body>
</html>

html5简介及新增功能介绍

html5简介及新增功能介绍

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>css3</title>
</head>
<style>
    ul li:nth-child(odd) {
        background-color: cornflowerblue;
    }

    ul {
        display: inline-grid;
        width: 200px;
        margin-left: -39px;
        list-style: none;
        text-align: center;
    }

    div::before {
        display: inline-block;
        content: "我想";
        width: 100px;
        height: 100px;
        background-color: pink;
    }

    div::after {
        display: inline-block;
        content: "飞的更高";
        width: 100px;
        height: 100px;
        background-color: pink;
    }
</style>
<body>
<div>
    <ul>
        <li>1</li>
        <li>4</li>
        <li>4</li>
        <li>4</li>
        <li>4</li>
    </ul>
</div>
</body>
</html>

html5简介及新增功能介绍

html5简介及新增功能介绍

html5简介及新增功能介绍

html5简介及新增功能介绍
html5简介及新增功能介绍
html5简介及新增功能介绍
html5简介及新增功能介绍

html5简介及新增功能介绍

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>动画</title>
</head>
<style>

    /*from 和 to 等价于 0% 和 100%*/
    /*@keyframes move {*/
    /*0%{*/
    /*transform:translateX(0px);*/

    /*}*/
    /*100%{*/
    /*transform:translateX(1000px);*/
    /*}*/

    /*}*/

    .bowen {
        position: fixed;
        top: 50%;
        left: 50%;
        width: 200px;
        height: 200px;
        transform: translate(-50%, -50%);
        background-color: pink;
    }

    .bowen div[class^="dotted"] {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 8px;
        height: 8px;
        transform: translate(-50%, -50%);
        background-color: deepskyblue;
        border-radius: 50%;
    }

    @keyframes pulse {
        0% {
        }
        70% {
            width: 100px;
            height: 100px;
            opacity: 1;
        }
        100% {
            width: 100px;
            height: 100px;
            opacity: 0;
        }

    }

    .bowen div.dotted2,
    .bowen div.dotted3,
    .bowen div.dotted4 {
        background-color: transparent;
        box-shadow: 0 0 8px deepskyblue;
        animation: pulse 1.2s linear infinite forwards;

    }

    .bowen div.dotted2 {
        animation-delay: 0.4s;
    }

    .bowen div.dotted3 {
        animation-delay: 0.8s;
    }


</style>
<body>
<div class="bowen">

    <div class="dotted1"></div>
    <div class="dotted2"></div>
    <div class="dotted3"></div>
    <div class="dotted4"></div>
</div>
</body>
</html>

html5简介及新增功能介绍

html5简介及新增功能介绍

html5简介及新增功能介绍

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>3D</title>
</head>

<style>
    body {
        perspective: 500px;
    }

    .box {
        position: relative;
        width: 200px;
        height: 200px;
        margin: 0 auto;
        transform-style: preserve-3d;
        transition: all .3s;
    }

    .box div {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: cornflowerblue;
    }

    .box div:last-child {
        background-color: aliceblue;
        transform: rotateX(60deg);
    }

    .box:hover {
        transform: rotate3D(0, 1, 0, 60deg);
    }

</style>

<body>
<div class="box">
    <div></div>
    <div></div>
</div>
</body>
</html>

html5简介及新增功能介绍

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>导航栏</title>
</head>
<style>

    li {
        float: left;
        padding: 0 10px;
        list-style: none;
        perspective: 500px;
    }

    .box {
        position: relative;
        width: 200px;
        height: 50px;
        transform-style: preserve-3d;
        transition: all .5s;
    }

    .box div {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: pink;
        text-align: center;
        line-height: 50px;
    }

    .box div:nth-child(1) {
        transform: translateZ(25px);
    }

    .box div:nth-child(2) {
        background-color: purple;
        /*必须先移动后旋转*/
        transform: translateY(25px) rotateX(-90deg);

    }

    .box:hover {

        transform: rotateX(90deg);

    }


</style>

<body>
<ul>
    <li>
        <div class="box">
            <div>好好学习</div>
            <div>天天向上</div>
        </div>
    </li>
    <li>
        <div class="box">
            <div>好好学习</div>
            <div>天天向上</div>
        </div>
    </li>
    <li>
        <div class="box">
            <div>好好学习</div>
            <div>天天向上</div>
        </div>
    </li>
    <li>
        <div class="box">
            <div>好好学习</div>
            <div>天天向上</div>
        </div>
    </li>

</ul>
</body>
</html>

html5简介及新增功能介绍

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>旋转木马</title>
</head>
<style>
    section {
        position: fixed;
        top: 50%;
        left: 50%;
        width: 300px;
        height: 200px;
        transform: translate(-50%, -50%);
        perspective: 2500px;
    }

    section div.box {
        position: relative;
        transform-style: preserve-3d;
        animation: move 15s linear infinite;
        background: url("img/4.jpg") no-repeat;
        background-size: 300px 200px;
    }

    div {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    div:nth-child(1) {
        background: url("img/3.jpg") no-repeat;
        background-size: 300px 200px;
        transform: rotateY(0) translateZ(400px);
    }

    div:nth-child(2) {
        background: url("img/9.jpg") no-repeat;
        background-size: 300px 200px;
        transform: rotateY(60deg) translateZ(400px);
    }

    div:nth-child(3) {
        background: url("img/5.jpg") no-repeat;
        background-size: 300px 200px;
        transform: rotateY(120deg) translateZ(400px);
    }

    div:nth-child(4) {
        background: url("img/6.jpg") no-repeat;
        background-size: 300px 200px;
        transform: rotateY(180deg) translateZ(400px);
    }

    div:nth-child(5) {
        background: url("img/7.jpg") no-repeat;
        background-size: 300px 200px;
        transform: rotateY(240deg) translateZ(400px);
    }

    div:nth-child(6) {
        background: url("img/8.jpg") no-repeat;
        background-size: 300px 200px;
        transform: rotateY(300deg) translateZ(400px);
    }

    @keyframes move {
        0% {
            transform: rotateY(0);
        }
        100% {
            transform: rotateY(360deg);
        }
    }

    .box:hover{
        animation-play-state: paused;
    }


</style>
<body>
<section>
    <div class="box">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
    </div>
</section>
</body>
</html>

html5简介及新增功能介绍

html5简介及新增功能介绍

总结

广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!

稳了!魔兽国服回归的3条重磅消息!官宣时间再确认!

昨天有一位朋友在大神群里分享,自己亚服账号被封号之后居然弹出了国服的封号信息对话框。

这里面让他访问的是一个国服的战网网址,com.cn和后面的zh都非常明白地表明这就是国服战网。

而他在复制这个网址并且进行登录之后,确实是网易的网址,也就是我们熟悉的停服之后国服发布的暴雪游戏产品运营到期开放退款的说明。这是一件比较奇怪的事情,因为以前都没有出现这样的情况,现在突然提示跳转到国服战网的网址,是不是说明了简体中文客户端已经开始进行更新了呢?