Implementing responsive design in React

Two kinds of responsive design

There’s two type of responsive design:

One is just adjusting an element’s appearance in response to different media types, like hiding or showing some elements, change size, color or layout.

Another way will be using the diffent design or totally different component for different media types. For example, a complex table view with lots of fields for each row, for a large screen, just show a regular table, but when the screen shrinks, the table view will be replaced with a card list, within each card, all the fields will be rendered vertically.

Continue reading →

《奇幻森林》观后感

p2324177434

今天下午一个人去看了IMAX,随便说点印象。

CG技术再一次刷新

我对于动物渲染的印象,还停留在大家称赞少年派中的老虎多逼真时,《奇幻森林》已经表示群兽共舞已无压力。印象特别深刻的是毛克利坐在巴鲁肚子上在水里戏水那段…真人和特效中的熊以及水的所有融合,如此自然:

Continue reading →