Giter Site home page Giter Site logo

ajlovechina / mizige Goto Github PK

View Code? Open in Web Editor NEW
13.0 2.0 5.0 28 KB

一个简易创建汉字米字格的css片段https://ajlovechina.github.io/mizige/

Home Page: https://ajlovechina.github.io/mizige/

License: MIT License

HTML 64.17% CSS 35.83%
hanzi css chinese

mizige's Introduction

米字格

一个简易创建汉字米字格的css片段

如何使用

<!--第一步, 在HTML中引入 css 文件-->


<link rel="stylesheet" href="./main.css">


<!--第二步,编写html代码, 将单个汉字放入如下的html结构中-->

 <div class="ci-box">
    <div class="lt-2rb line"></div>
    <div class="rt-2lb line"></div>
    <div class="rm-2lm line"></div>
    <div class="tm-2bm line"></div>
    <div class="ci">
        <span class="wd"></span>
    </div>
</div>

<!--第三步, 可选。自定义css样式-->
<style>
    /*设置自定义css样式,  整体宽高, 字体大小*/
    .ci-box{
        width:96px!important;
        height:96px!important;
        margin: 0 2px;
    }

    .ci-box .wd {
        font-size:90px!important;
    }
</style>

license

MIT

作者

mizige's People

Contributors

ajlovechina avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.