摘要: 工作中经常用到水平垂直居中的方法,尤其是垂直居中,其中有非常多的学问,一直疏于总结,今天儿周末,来review一下: HTML结构: 绝对居中法(一)一——absolute + margin 负值 实现水平垂直居中 限制条件:需要知道元素宽高的值; 这里附带一个小的知识点:CSS中margin-to 阅读全文
posted @ 2016-07-19 18:01 Rylai 阅读(352) 评论(0) 推荐(0)
摘要: Question: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input wou 阅读全文
posted @ 2016-06-29 14:18 Rylai 阅读(243) 评论(0) 推荐(0)