利用css3实现移动端微信UI界面ydui模板源码



48 188 63



特效描述:利用css3实现 移动端 微信UI 界面ydui 模板源码,利用css3实现移动端微信UI界面ydui模板源码

代码结构

1. 引入CSS

<link rel="stylesheet" href="css/ydui.css?rev=@@hash"/>
<link rel="stylesheet" href="css/demo.css"/>

2. 引入JS

<script src="js/ydui.flexible.js"></script>
<script src="js/jquery-1.10.2.js"></script>
<script src="js/ydui.js"></script>

3. HTML代码

<section class="g-flexview">
    <div class="g-scrollview">
        <h1 class="demo-pagetitle">YDUI</h1>
        <h2 class="demo-detail-title">一只注重审美,且性能高效的移动端&微信UI。</h2>
        <div class="m-grids-4">
            <a class="grids-item" href="html/button.html">
                <div class="grids-icon">
                    <i class="demo-icons-button"></i>
                </div>
                <div class="grids-txt">Button</div>
            </a>
            <a class="grids-item" href="html/dialog.html">
                <div class="grids-icon">
                    <i class="demo-icons-dialog"></i>
                </div>
                <div class="grids-txt">Dialog</div>
            </a>
            <a class="grids-item" href="html/cell.html">
                <div class="grids-icon">
                    <i class="demo-icons-cell"></i>
                </div>
                <div class="grids-txt">Cell</div>
            </a>
            <a class="grids-item" href="html/icons.html">
                <div class="grids-icon">
                    <i class="demo-icons-icons"></i>
                </div>
                <div class="grids-txt">Icons</div>
            </a>
            <a class="grids-item" href="html/grids.html">
                <div class="grids-icon">
                    <i class="demo-icons-grids"></i>
                </div>
                <div class="grids-txt">Grids</div>
            </a>
            <a class="grids-item" href="html/list.html">
                <div class="grids-icon">
                    <i class="demo-icons-list"></i>
                </div>
                <div class="grids-txt">List</div>
            </a>
            <a class="grids-item" href="html/badge.html">
                <div class="grids-icon">
                    <i class="demo-icons-badge"></i>
                </div>
                <div class="grids-txt">Badge</div>
            </a>
            <a class="grids-item" href="html/asidebar.html">
                <div class="grids-icon">
                    <i class="demo-icons-tabbar"></i>
                </div>
                <div class="grids-txt">AsideBar</div>
            </a>
            <a class="grids-item" href="html/tabs.html">
                <div class="grids-icon">
                    <i class="demo-icons-tabs"></i>
                </div>
                <div class="grids-txt">Tabs</div>
            </a>
            <a class="grids-item" href="html/actionsheet.html">
                <div class="grids-icon">
                    <i class="demo-icons-actionsheet"></i>
                </div>
                <div class="grids-txt">ActionSheet</div>
            </a>
            <a class="grids-item" href="html/sendcode.html">
                <div class="grids-icon">
                    <i class="demo-icons-sendcode"></i>
                </div>
                <div class="grids-txt">SendCode</div>
            </a>
            <a class="grids-item" href="html/progressbar.html">
                <div class="grids-icon">
                    <i class="demo-icons-progressbar"></i>
                </div>
                <div class="grids-txt">ProgressBar</div>
            </a>
            <a class="grids-item" href="html/keyboard.html">
                <div class="grids-icon">
                    <i class="demo-icons-keyboard"></i>
                </div>
                <div class="grids-txt">KeyBoard</div>
            </a>
            <a class="grids-item" href="html/slider.html">
                <div class="grids-icon">
                    <i class="demo-icons-slider"></i>
                </div>
                <div class="grids-txt">Slider</div>
            </a>
            <a class="grids-item" href="html/spinner.html">
                <div class="grids-icon">
                    <i class="demo-icons-spinner"></i>
                </div>
                <div class="grids-txt">Spinner</div>
            </a>
            <a class="grids-item" href="html/cityselect.html">
                <div class="grids-icon">
                    <i class="demo-icons-cityselect"></i>
                </div>
                <div class="grids-txt">CitySelect</div>
            </a>
        </div>
    </div>
</section>
<script>(!YDUI.device.isMobile && navigator.userAgent.indexOf('Firefox') >= 0) && YDUI.dialog.alert('PC端请使用谷歌内核浏览器查看!');</script>



用户评论
大牛,别默默的看了,快登录帮我点评一下吧!:)      登录 | 注册


热门标签: 导航切换 图片头像上传 文件上传 图片切换 文本框 文字切换 下拉框 背景切换 复选 手风琴 单选 选项卡自动切换 登录框 视频切换 注册框 列表切换 搜索框 验证码 渐隐切换 二级联动 全屏切换 三级联动 切换按钮 城市选择 缩放切换 value赋值 筛选 按钮控制 购物车 颜色选择 表单提交 全选/反选 添加删除 添加标签 密码强度验证 表单验证 html5按钮动画 按钮样式 密码修改设置 滚动切换 滑动选项卡切换 选项卡切换 滑动手风琴 切换按钮 form表单

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

jQuery/js讨论群
群号:642649996
Css3+Html5讨论群
群号:322131262

加群请备注:从官网了解到