Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

alice-box

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alice-box

带边框和标题的标准区块。

  • 1.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
increased by150%
Maintainers
1
Weekly downloads
 
Created
Source

box


带边框和标题的标准区块。


演示文档

<link type="text/css" rel="stylesheet" media="screen" href="index.css">

默认用法

<div class="ui-box">
    <div class="ui-box-head">
        <h3 class="ui-box-head-title">区块标题</h3>
        <span class="ui-box-head-text">其他文字</span>
        <a href="#" class="ui-box-head-more">更多</a>
    </div>
    <div class="ui-box-container">
        <div class="ui-box-content">ui-box-content 有默认内边距</div>
    </div>
</div>

内容区域隐藏

<div class="ui-box">
    <div class="ui-box-head">
        <h3 class="ui-box-head-title">没有内容</h3>
        <span class="ui-box-head-text">其他文字</span>
        <a href="#" class="ui-box-head-more">更多</a>
    </div>
    <div class="ui-box-container" style="display: none;">
        <div class="ui-box-content">ui-box-content 有默认内边距</div>
    </div>
</div>

两个区块相连

<div class="ui-box">
    <div class="ui-box-head">
        <h3 class="ui-box-head-title">区块标题</h3>
        <span class="ui-box-head-text">其他文字</span>
        <a href="#" class="ui-box-head-more">更多</a>
    </div>
    <div class="ui-box-container">
        <div class="ui-box-content">ui-box-content 有默认内边距</div>
    </div>
</div>
<div class="ui-box ui-box-follow">
    <div class="ui-box-head">
        <h3 class="ui-box-head-title">连着上面的box</h3>
        <span class="ui-box-head-text">其他文字</span>
        <a href="#" class="ui-box-head-more">更多</a>
    </div>
    <div class="ui-box-container">
        <div class="ui-box-content">ui-box-content 有默认内边距</div>
    </div>
</div>

Keywords

FAQs

Package last updated on 23 Dec 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc