上一页 1 ··· 307 308 309 310 311 312 313 314 315 ··· 494 下一页
摘要: It is a good pratice to add ref="noopener" <a href="/some/domain" target="_blank" rel="noopener" /> Because when the new page is opened, in the new pa 阅读全文
posted @ 2018-03-07 03:10 Zhentiw 阅读(384) 评论(0) 推荐(0)
摘要: http://udacity.github.io/responsive-images/examples/3-08/pictureFullMonty/ 阅读全文
posted @ 2018-03-06 03:21 Zhentiw 阅读(183) 评论(0) 推荐(0)
摘要: What if the image won't be displayed at the full viewport width? Then you need something more than srcset, which assumes the image will be full viewpo 阅读全文
posted @ 2018-03-06 03:05 Zhentiw 阅读(195) 评论(0) 推荐(0)
摘要: 1. Pure CSS 2. Responsive 3. No need to recalculate on resize or font’s load event 4. Cross browser 阅读全文
posted @ 2018-03-06 01:58 Zhentiw 阅读(286) 评论(0) 推荐(0)
摘要: In this lesson we'll explore using setState to synchronously update in componentDidMount. This allows for us to use getBoundingClientRect or other syn 阅读全文
posted @ 2018-03-05 20:59 Zhentiw 阅读(417) 评论(0) 推荐(0)
摘要: In this lesson we are going to use CSS variables to keep our application's colors consistent. This includes defining the variables inside our the pseu 阅读全文
posted @ 2018-02-27 22:07 Zhentiw 阅读(194) 评论(0) 推荐(0)
摘要: The main reason you want to do I"nlining images with SVG and data URIs" is to reduce http request. If you doing "Inlining images with SVG and data URI 阅读全文
posted @ 2018-02-26 20:12 Zhentiw 阅读(424) 评论(0) 推荐(0)
摘要: // Asynchronous iteration --> Symbol.asyncIterator async function main() { const syncIterable = [ Promise.resolve('a'), Promise.resolve('b'), ]; for await (const x of sync... 阅读全文
posted @ 2018-02-25 01:47 Zhentiw 阅读(336) 评论(0) 推荐(0)
摘要: In this lesson, you will learn how to implement pytest fixtures. Many unit tests have the same resource requirements. For example, an instantiated obj 阅读全文
posted @ 2018-02-22 22:04 Zhentiw 阅读(361) 评论(0) 推荐(0)
摘要: Body with background image and gradient Body with elaborate background using only CSS Using CSS background images for conditional image display Using 阅读全文
posted @ 2018-02-22 21:10 Zhentiw 阅读(209) 评论(0) 推荐(0)
上一页 1 ··· 307 308 309 310 311 312 313 314 315 ··· 494 下一页