layui rate星级评分打分多种效果代码
代码语言:html
所属分类:星级评分
代码描述:layui rate星级评分打分多种效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Layui</title> <meta name="renderer" content="webkit"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/js/layui/css/layui.css"> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/layui/layui.all.js"></script> <!-- 注意:如果你直接复制所有代码到本地,上述css路径需要改成你本地的 --> </head> <body> <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;"> <legend>基础效果</legend> </fieldset> <div id="test1"></div> <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;"> <legend>显示文字</legend> </fieldset> <div id="test2"></div> <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;"> <legend>半星效果</legend> </fieldset> <div id="test3"></div> <div><div id="test4"></div></div> <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;"> <legend>自定义内容</legend> </fieldset> <div id="test5"></div> <div><div id="test6"></div></div> <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;"> <legend>自定义长度</legend> </fieldset> <div id="test7"></div> <div><div id="test8"></div></div> <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;"> <legend>只读</legend> </fieldset> <div id="test9"></div> <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;"> <legend>自定义主题色</legend> </fieldset> <ul> <li><div id="test10"></div></li> <li><div id="test11"></div></li> <li><div id=.........完整代码请登录后点击上方下载按钮下载查看
网友评论0