• 3-1 练习 HTML 总结


    1.段落

     #段落
    <div class="ui segment">    </div>
    
    #翻转 
     <div class="ui inverted segment">
    
    #垂直段落   
    <div class="ui vertical  segment">
    
    #内收 
    <div class="ui continer segment">
    
    #去除多余的格式  
    <div class="ui basic segment">
    
    #内距  
                <div class="ui padded segment">
    
        <div class="ui very padded segment">

    2.标题

    #标题  
    <h3 class="ui  header">Company</h3>
    
    #翻转 
    <h3 class="ui inverted header">Company</h3>
    
    #垂直段落   
    <h3 class="ui vertical header">Company</h3>

     3.菜单menu

    <div class="ui  menu">
        <a href="#" class="item">Home</a>
        <a href="#" class="item">About</a>
        <a href="#" class="item">Others</a>
    </div>
     
    
    #固定菜单
     <div class="ui fixed inverted menu">
    
    #垂直菜单
    <div class="ui  text menu">
        <div class="item">Tel:010-666666</div>
        <div class="item">Adr:CN</div>
        <div class="item">Fax:010-6666</div>
    </div>

    4.图片

    <div class="ui image">
      <img src="images/banner.jpg" alt="" />
    </div>

    5.图标

    <i class="ui icon book"></i>

    6.网格系统

          <div class="ui grid">
    
            <div class="ten wide column">我占10格</div>
            <div class="six wide column">我占6格</div>
    
          </div>

    7.按钮

    <button type="button" name="button" class="ui button">Read more </button>
    
    #翻转
    <button type="button" name="button" class="ui inverted blue button">Read more</button>
     

     自己练习

    <!DOCTYPE html>
    <html>
      <head>
        <meta charset="utf-8">
        <title>基于SOA的工作流系统</title>
        <link rel="stylesheet" href="css/semantic.css" media="screen" title="no title" charset="utf-8">
      </head>
      <body>
        <div class="ui fixed inverted menu">
    
            <a href="#" class="item">Home</a>
            <a href="#" class="item">About</a>
            <a href="#" class="item">Others</a>
    
        </div>
    
    
        <div class="ui vertical inverted segment">
          <div class="ui image">
            <img src="images/banner.jpg" alt="" />
          </div>
        </div>
    
    
        <div class="ui basic segment">
    
          <div class="ui grid">
    
            <div class="ten wide column">
              <div class="ui image">
                <img src="images/devices2.png" alt="" />
              </div>
            </div>
    
            <div class="six wide column">
              <h3 class="ui header">
                <i class="ui icon book"></i>
                This title</h3>
              <p>
                Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
              </p>
            </div>
    
          </div>
    
        </div>
    
    
        <div class="ui vertical very padded inverted segment">
    
          <div class="ui grid">
    
            <div class="four wide column">
              <div class="ui vertical inverted text menu">
    
                <div class="item">
                  <h3 class="ui inverted header">Company</h3>
                </div>
                <div class="item">Tel:010-666666</div>
                <div class="item">Adr:CN</div>
                <div class="item">Fax:010-6666</div>
    
              </div>
            </div>
    
            <div class="four wide column">
              <div class="ui vertical inverted text menu">
                <div class="item">
                  <h3 class="ui inverted header">Company</h3>
                </div>
                <div class="item">Tel:010-666666</div>
                <div class="item">Adr:CN</div>
                <div class="item">Fax:010-6666</div>
              </div>
            </div>
    
            <div class="four wide column">
              <div class="ui vertical inverted text menu">
                <div class="item">
                  <h3 class="ui inverted header">Company</h3>
                </div>
                <div class="item">Tel:010-666666</div>
                <div class="item">Adr:CN</div>
                <div class="item">Fax:010-6666</div>
              </div>
            </div>
    
            <div class="four wide column">
              <div class="ui vertical inverted text menu">
                <div class="item">
                  <h3 class="ui inverted header">Company</h3>
                </div>
                <div class="item">Tel:010-666666</div>
                <div class="item">Adr:CN</div>
                <div class="item">Fax:010-6666</div>
              </div>
            </div>
    
    
            </div>
          </div>
        </div>
    
      </body>
    </html>
    View Code

  • 相关阅读:
    重构之重新组织函数(Split Temporary Variable)
    HammperSpoon 不能 Focus Google Chrome 的问题
    如何让 vim 可以在命令行执行命令并且附加参数
    This bison version is not supported for regeneration of the Zend/PHP parsers
    php cURL library is not loaded
    aws linuxbrew GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2
    gen-cpp/.deps/ChildService.Plo: No such file or directory
    快速解码base64和utf-8的ASCII编码和URL解码
    英文版firefox显示中文字体丑的问题
    linux find 反转 查找没有被找到的结果
  • 原文地址:https://www.cnblogs.com/venicid/p/8067268.html
Copyright © 2020-2023  润新知