首页
学习
活动
专区
工具
TVP
发布

杰的记事本

专栏作者
231
文章
481171
阅读量
32
订阅数
flex space-between最后一行对齐问题的解决方案
常见的一个图文列表设计,通常是这样的,两端顶着容器,中间的间距平均分,如下图的某东商品列表的设计:
javascript.shop
2020-02-11
2.9K0
position:sticky的尝试
sticky这种设计效果是经常出现的,比如陶宝右侧的工具栏,当我们向下滚动到它的位置时,它就会黏住顶部跟随滚动,类似position: fixed的效果,只不过它的触发条件是当我们滚动到所在位置时,才触发fixed的效果的:
javascript.shop
2019-12-10
9070
Vue如何在父级下使用v-slot的值
https://cn.vuejs.org/v2/guide/components-slots.html#%E4%BD%9C%E7%94%A8%E5%9F%9F%E6%8F%92%E6%A7%BD
javascript.shop
2019-11-26
1.5K0
Vue2高版本新特性的总结及其使用
在项目开发中,如果业务比较复杂,特别像中台或B端功能页面都不可避免的会用到第三方组件库,产品有时会想对这些组件进行一些UI方面的定制。如果这些组件采用的是有作用域的CSS,父组件想要定制第三方组件的样式就比较麻烦了。
javascript.shop
2019-10-30
8140
Html.AntiForgeryToken 防止伪造提交
In this tutorial, I am not going to discuss the concept in-depth since they have done such a fantastic job. Instead, I want to show how you can easily incorporate the Html.AntiForgeryToken HtmlHelper Method and [ValidateAntiForgeryToken] Attribute in the sample code from our first meeting:Introduction to ASP.NET MVC Screencast and Sample Code.
javascript.shop
2019-09-04
1.2K0
ASP.NET的最新安全漏洞Important: ASP.NET Security Vulnerability
微软在9月17号中午正式对外公布了ASP.NET平台下的安全漏洞,即Microsoft Security Advisory (2416728)。
javascript.shop
2019-09-04
1.6K0
Nodejs写的爬虫及模拟提交知识分享
这篇文章 主要学习这两个模块的使用:request-promise-native : https://github.com/request/request-promise-nativecheerio :https://github.com/cheeriojs/cheerio
javascript.shop
2019-09-04
6030
NGINX Server Push服务器推送
Support for HTTP/2 server push is also included in NGINX Plus R15.
javascript.shop
2019-09-04
1.7K0
判断用户是否断网navigator.onLine
Navigator onLine 属性 onLine 属性是一个只读的布尔值,声明了系统是否处于脱机模式,如果系统属于脱机状态,则返回 false,否则返回 true。
javascript.shop
2019-09-04
3.1K0
JWT JSON Web Token的介绍
这种模式的问题在于,扩展性(scaling)不好。单机当然没有问题,如果是服务器集群,或者是跨域的服务导向架构,就要求 session 数据共享,每台服务器都能够读取 session。
javascript.shop
2019-09-04
4590
跨域资源CORS简介
CORS需要浏览器和服务器同时支持。目前,所有浏览器都支持该功能,IE浏览器不能低于IE10。
javascript.shop
2019-09-04
4570
浏览器同源策略跨域问题的产生与解决
1995年,同源政策由 Netscape 公司引入浏览器。目前,所有浏览器都实行这个政策。
javascript.shop
2019-09-04
9740
npm淘宝镜像的使用
外网在国内访问太慢了,所以一般大家都把镜像改成taobao镜像会加快安装速度。。。
javascript.shop
2019-09-04
3.8K1
CSS中的@关键字
大家可能在CSS中见到过字符@然后加一些关键字的用法,这种用法就称之为AT规则,在CSS中,种类还是很多的,这里总结列举下。
javascript.shop
2019-09-04
1.1K0
Speeding up AngularJS apps with simple optimizations
AngularJS is a huge framework with that already has many performance enhancements built in, but they can’t solve all our problems. No matter how fast the framework, we can all create sluggish code through bad practices and not understanding key concepts that help it perform well. The following performance pointers are some of the things I’ve learned from developing Angular applications that will hopefully enable you to keep building fast applications.
javascript.shop
2019-09-04
4300
为什么AngularJs会火?
Angular.js is a MV* (Model – View – Whatever) Javascript framework which is maintained by Google which excels in the creation of single-page-applications or even for adding some “magic” to our classic web applications.
javascript.shop
2019-09-04
8270
RESTful API怎样设计更合理
网络应用程序,分为前端和后端两个部分。当前的发展趋势,就是前端设备层出不穷(手机、平板、桌面电脑、其他专用设备……)。
javascript.shop
2019-09-04
5560
ES6中的Proxy和Reflect
一、Proxy 1、概述 Proxy取其英文意思即“代理”。 所谓代理,是你要取得某样东西或对其进行某些操作的中间媒介,而不是直接作用在这个对象上。这就类似我们网购东西,需要在网店平台上购买,而不是直接向厂家购买。 Proxy 对象就是这样的媒介,要操作这个对象的话,需要经过这个媒介的同意。 使用方式: let p = new Proxy(target, habdler); target:用 Proxy 包装的目标对象(可以是数组对象,函数,或者另一个代理); handler:一个对象,拦截过滤代理操作的函数。
javascript.shop
2019-09-04
5120
没有更多了
社区活动
Python精品学习库
代码在线跑,知识轻松学
【玩转EdgeOne】征文进行中
限时免费体验,发文即有奖~
博客搬家 | 分享价值百万资源包
自行/邀约他人一键搬运博客,速成社区影响力并领取好礼
技术创作特训营·精选知识专栏
往期视频·干货材料·成员作品·最新动态
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档