会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
webxy
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
12
下一页
2020年6月10日
css换行几种方式
摘要: 1. 强制不换行 div{ white-space:nowrap; } 2. 自动换行 div{ word-wrap: break-word; word-break: normal; } 3. 强制英文单词断行 div{ word-break:break-all; }
阅读全文
posted @ 2020-06-10 10:33 webxy
阅读(4428)
评论(0)
推荐(0)
2020年4月12日
Vue V-for嵌套循环数组
摘要: <div v-for="item in items" :key="item.id" :value='item.value' :label="item.label"> <div>{{item.name}}</div> </div> <script> items:[ {id:1,name:"可乐"},
阅读全文
posted @ 2020-04-12 00:45 webxy
阅读(6918)
评论(0)
推荐(0)
2020年2月8日
css display:flex 属性
摘要: 一:display:flex 布局 display:flex 是一种布局方式。它即可以应用于容器中,也可以应用于行内元素。是W3C提出的一种新的方案,可以简便、完整、响应式地实现各种页面布局。目前,它已经得到了所有浏览器的支持。 Flex是Flexible Box的缩写,意为"弹性布局",用来为盒状
阅读全文
posted @ 2020-02-08 19:47 webxy
阅读(829)
评论(0)
推荐(0)
2019年12月16日
手机端设计规范(750*1334)
摘要: 以750*1334为例 统一字体:苹方 一、文本 1.主题类: 展示标题:小字号 36 加粗 行距50 大字号 40 加粗行距58 主标题:大字号 32 加粗 小字号28 中等 副标题:大字号30 加粗 小字号 24 中等 2.文本类: 主文本:字号36 中等 行距58 辅文本:字号60 行距48
阅读全文
posted @ 2019-12-16 10:54 webxy
阅读(8750)
评论(0)
推荐(0)
2019年11月25日
太阳系动画
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style> body{ background: #000; overflow: hidden; } .sun{ width: 100px; height: 1
阅读全文
posted @ 2019-11-25 16:16 webxy
阅读(283)
评论(0)
推荐(0)
2019年11月22日
公共样式base.css
摘要: /*公共样式*/ /*css初始化*/ html,body,ul,li,ol,ul,dl,dd,dt,p,h1,h2,h3,h4,h5,h6,form,fieldset{ margin: 0; padding: 0; } /*fieldset组合表单中的相关元素*/ fieldset,img,inp
阅读全文
posted @ 2019-11-22 10:12 webxy
阅读(430)
评论(0)
推荐(0)
2019年11月4日
单选框radio总结(获取值、设置默认选中值、样式)
摘要: 单选框 radio 1.获取值 $("input[name='killOrder']:checked").val(); $('input:radio:checked').val(); $("input[type='radio']:checked").val(); $(":radio[checked]
阅读全文
posted @ 2019-11-04 10:49 webxy
阅读(24343)
评论(0)
推荐(2)
2019年9月3日
js tab切换
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title> 自定义滚动条</title> <style> #div1 input{ background: #fff; } #div1 input.active{ background: yellow; } #div1 div{ width: 200px; height: 200px; b
阅读全文
posted @ 2019-09-03 13:46 webxy
阅读(172)
评论(0)
推荐(0)
2019年8月30日
HTTP状态码100、200、300、400、500、600的含义
摘要: 1xx (临时响应)表示临时响应并需要请求者继续执行操作的状态代码。 100 (继续) 请求者应当继续提出请求。 服务器返回此代码表示已收到请求的第一部分,正在等待其余部分。 101 (切换协议) 请求者已要求服务器切换协议,服务器已确认并准备切换。 102 由WebDAV(RFC 2518)扩展的
阅读全文
posted @ 2019-08-30 13:57 webxy
阅读(8709)
评论(0)
推荐(0)
2019年7月27日
微信小程序事件绑定
摘要: 事件类别: tap:点击事件; longtap:长按事件; touchstart:触摸开始; touchend:触摸结束; touchcansce:取消触摸; 事件绑定: bind绑定; catch绑定;(能阻止事件冒泡) 例如:绑定点击事件 bindtap page.wxml 文件 page.js
阅读全文
posted @ 2019-07-27 11:49 webxy
阅读(55331)
评论(0)
推荐(5)
上一页
1
2
3
4
5
6
···
12
下一页
公告