Coder Social home page Coder Social logo

html-module's Introduction

警示框

<div class="alert alert--success|alert--error|alert--info">
    <h4 class="alert__title"></h4>
    <p class="alert__content"></p>
    <button class="btn-close" data-js="close">&times;</button>
</div>

徽章

<span class="badge badge--success|badge--error|badge--warning|badge--info"></span>

标签

<span class="label label--success|label--error|label--warning|label--info"></span>

按钮

<a class="btn btn--success|btn--error|btn--warning|btn--info" href="javascript:;"></a>
<button class="btn btn--success|btn--error|btn--warning|btn--info"></button>

进度条

<div class="progress progress--mini">
    <div class="progress__bar progress--info|progress--success|progress--warning|progress--error" style="width: 20%"></div>
</div>

表单

<form class="form" action="about:blank" method="get|post" autocomplete="on|off" novalidate accept-charset="utf-8">
    <div class="form__group">
        <label>用户名:</label>
        <input type="text" placeholder="用户名">
        <span class="form__help--inline">用户名是你的注册邮箱地址</span>
    </div>
    <div class="form-group">
        <label>密码:</label>
        <input type="password" placeholder="请输入密码">
        <span class="form__help--block">密码输入错误,请重新输入</span>
    </div>
    <div class="form__action">
        <select name="">
            <option value="">请选择</option>
        </select>
    </div>
    <div class="form__action">
        <label class="remeber">
            <input type="checkbox">记住我
        </label>
    </div>
    <div class="form__action">
        <button class="btn-submit" data-js="submit">提交</button>
    </div>
</form>

盒子

<div class="box">
    <div class="box__hd">
        <i class="box__icon"></i>
        <h3 class="box__title">标题</h3>
        <div class="box__act">
            <a href="#">更多&raquo;</a>
        </div>
    </div>
    <div class="box__bd">

    </div>
    <div class="box__ft">

    </div>
</div>

图片列表

<ul class="list list--picture">
    <li>
        <a href="#">
            <img alt="" src="http://art.yypm.com/130x90">
            <em></em>
            <i class="icon-play"></i>
        </a>
    </li>
</ul>

文章列表

<ul class="list list--article">
    <li>
        <a href="#"></a>
        <time></time>
    </li>
</ul>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.