slicy css组件

2018-06-14 14:50 更新

定义了一些常用的组件以及样式,能够快速构建页头,导航,选项卡,页脚,子菜单,分页等

边框

头部告示黄色区域引人注目

演示

这是一段警告 ×
<div class="spring">
<div class="wrapper">
这是一段警告
<del>&times;</del>
</div>
</div>

边框

歌词来自《Whatever Will Be, Will Be》

演示

When I was just a little girl,

I asked my mother,

"What will I be?

Will I be pretty?

Will I be rich?"

<p class="bdr bdr-red txt-red pd-small">When I was just a little girl,</p>
<p class="bdr bdr-yellow txt-yellow pd-small">I asked my mother, </p>
<p class="bdr bdr-blue txt-blue pd-small">"What will I be?</p>
<p class="bdr bdr-green txt-green pd-small">Will I be pretty?</p>
<p class="bdr pd-small">Will I be rich?"</p>

头部导航

无色 添加class="naver unstyled"调用

代码片段

<div class="naver">
<div class="wrapper">
<div class="logo">

</div>
<div class="module">
<ul>
<li>
<strong><a href="#" class="selected">菜单1</a></strong>
</li>
<li>
<strong><a href="###">菜单2</a></strong>
<div class="droper">
<a href="#">子菜单1</a>
<a href="#" target="_blank">子菜单2</a>
<a href="#" target="_blank">子菜单3</a>
<a href="#" target="_blank">子菜单4</a>
<a href="#" target="_blank">子菜单5</a>
</div>
</li>

</ul>
</div>
<div class="sub">
<a href="#">例子</a>
<a href="#">关于</a>
</div>
</div>
</div>

选项卡

带js的选项卡效果

演示

slicy犹急切。 何其芳《画梦录·炉边夜话》:“但这里的人从没有一个见过海的,辽远使我更加slicy了。这里的slicy是比渴望还要渴望的心情,slicy是一种需求,是一种梦想,是激励我们实现目标的动力。

代码片段

<div class="taber">
<div class="head">
<a href="#" lang="t1" class="selected">典故</a>
<a href="#" lang="t2">关于</a>
<a href="#" lang="t3">其他</a>
<a href="#" lang="t4">其他</a>
</div>
<div class="body" id="t1">
xxxxxxxx
</div>
<div class="body" id="t2" style="display:none;">
sssssssss
</div>
<div class="body" id="t3" style="display:none;">
sssssss
</div>
<div class="body" id="t4" style="display:none;">
ssss
</div>
</div>

侧边栏

侧边栏菜单,常用于子菜单的展示

<ul class="sidebar">
<li class="selected"> <a href="#">栏目</a></li> <li><a href="#">菜单</a></li> <li><a href="#">菜单</a></li>
</ul>

面包屑

<div class="current">
<a href="#">首页</a>&gt; 
<a href="#">概述</a>&gt;
<span>组件</span>
</div>
首页 > 概述 > 组件

无样式

引用class="current unstyled"

首页 > 概述 > 组件

分页

通用而简洁的分页样式

<div class="pager">
<a href="#">首页</a>
<a href="#">上一页</a>
<a href="#">1</a>
<a href="#">2</a>
<a href="#">3</a>
<a href="#">4</a>
<a href="#">5</a>
<a href="#">...</a>
<a href="#">99</a>
<a href="#">下一页</a>
<a href="#">尾页</a>
</div>

无样式分页

引用样式class="pager unstyled"

tag标签

默认 <span class="label">默认</span>
成功 <span class="label success">成功</span>
默认 <span class="label warning">警告</span>
默认 <span class="label error">错误</span>

提示信息

不同的提示信息是不同的颜色,容易理解

<div class="alert">
<strong>提示信息!</strong>这是一段普通的提示信息描述 </div>

默认提示风格

提示信息!这是一段普通的提示信息描述

正确提示风格

恭喜你!经过你的不懈努力,你升级啦!

错误提示风格

权限不足!您没有权限访问本页,请问管理员索要权限。

进度条

<div class="progress">
<div class="bar" style="width:50%;"> </div> </div>

默认提示风格

格子状

动态滚动

成功

警告

危险

消息墙

突出展示一些信息

<div class="well">
... </div>
消息墙,可以突出展示一些信息

刊头

突出展示一些信息

<div class="masthead">
<h1>slicy</h1>
<div class="lead">国产响应式css框架</div>
<div class="social">兼容ie6,ie7,ie8,firefox,chrome等浏览器</div> </div>

slicy

国产响应式css框架
兼容ie6,ie7,ie8,firefox,chrome等浏览器

时间轴

时间线(timeline)是将一系列按照时间发生的事件拖放在一条直线上,来使用户直观的看出事件的先后关系。时间线一词还用来形容按照时间排列的年度报表或者其他文档。

<ul class="timeline">
<li class="event">
<label></label>
<div class="thumb" style="background-image:url(imgs/darthvader.jpg);">
<span>19 Nov</span>
</div>
<div class="inner">

</div>
</li>
<li class="event">
<label></label>
<div class="thumb" style="background-image:url(imgs/darthvader.jpg);">
<span>19 Nov</span>
</div>
<div class="inner">

</div>
</li>
</ul>
  • 19 Nov

    I find your lack of faith disturbing

    Don't be too proud of this technological terror you've constructed. The ability to destroy a planet is insignificant next to the power of the Force. The plans you refer to will soon be back in our hands. A tremor in the Force. The last time I felt it was in the presence of my old master. Escape is not his plan. I must face him. Alone.

  • 19 Nov

    I find your lack of faith disturbing

    Don't be too proud of this technological terror you've constructed. The ability to destroy a planet is insignificant next to the power of the Force. The plans you refer to will soon be back in our hands. A tremor in the Force. The last time I felt it was in the presence of my old master. Escape is not his plan. I must face him. Alone.

价目表

演示

Smart Starter
  • I asked my mother
  • what will I be
  • will I be pretty
  • will I be rich

Price per month

Contact

Smart Medium
  • I asked my mother
  • what will I be
  • will I be pretty
  • will I be rich

Price per month

Contact

Smart Business
  • I asked my mother
  • what will I be
  • will I be pretty
  • will I be rich

Price per month

Contact

<div class="pricing-tables">
<div class="pricing-box">
<div class="pricing-head">

</div>
<div class="pricing-body">

</div>
<div class="pricing-foot">

</div>
</div>
<div class="pricing-box large">
<div class="pricing-head">

</div>
<div class="pricing-body">

</div>
<div class="pricing-foot">

</div>
</div>
<div class="pricing-box">
<div class="pricing-head">

</div>
<div class="pricing-body">

</div>
<div class="pricing-foot">

</div>
</div>
</div>

计数器

演示

SLICY累计 132668 次下载
<div class="counter">
<span class="counter-text">
slicy累计
</span>
<span class="counter-btns">
<i>1</i><i>3</i><i>2</i><i>6</i><i>6</i><i>8</i><span class="counter-btns-lt"></span>
</span>
<span class="counter-text">
下载
</span>
</div>
以上内容是否对您有帮助:
在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号