JohnnyCoin

博客园 首页 新随笔 联系 订阅 管理

2016年4月15日 #

摘要: :first $("p:first") 第一个p元素,很好理解 :last $("p:last") 最后一个p元素 :even $("tr:even") 所有的偶数<tr>元素 :odd $("tr:odd") 所有的奇数<tr>元素 << >> :first-child $("p:first-ch 阅读全文
posted @ 2016-04-15 15:48 JohnnyCoin 阅读(114) 评论(0) 推荐(0)

2016年4月12日 #

摘要: 通过设置全局布局中的box-sizing属性为border-box,这样可以让div的内边距和边框都不会增加它的宽度。 box-sizing是相对新的属性,因此要支持其他浏览器的版本要进行-webkit和-moz的配置。 postion位置: static: 作为默认值,任何position:sta 阅读全文
posted @ 2016-04-12 18:03 JohnnyCoin 阅读(106) 评论(0) 推荐(0)

2016年4月6日 #

摘要: 简单的实现了图片的缩放功能 阅读全文
posted @ 2016-04-06 16:39 JohnnyCoin 阅读(379) 评论(0) 推荐(0)

2016年1月29日 #

摘要: springmvc-servlet.xml 引入命名空间,引入注解 命名空间: xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmln 阅读全文
posted @ 2016-01-29 10:35 JohnnyCoin 阅读(130) 评论(0) 推荐(0)

摘要: applicationContext 命名空间: 引入命名空间,这样可以在代码中使用annotation xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-i 阅读全文
posted @ 2016-01-29 10:05 JohnnyCoin 阅读(173) 评论(0) 推荐(0)

摘要: web.xml配置 在服务器端容器启动之前加载配置文件的顺序:context-param>listener>filter>servlet //容器配置application上下文的时候加载的文件 //这是spring容器的配置文件 <context-param> <param-name>contex 阅读全文
posted @ 2016-01-29 09:24 JohnnyCoin 阅读(294) 评论(0) 推荐(0)