將Layout圖檔轉成網頁Screenshot-to-code-in-Keras

Turning design mockups into code with deep learning

This is the code for the article 'Turning design mockups into code with deep learning' on FloydHub's blog.

Within three years deep learning will change front-end development. It will increase prototyping speed and lower the barrier for building software.

The field took off last year when Tony Beltramelli introduced the pix2code paper and Airbnb launched sketching interfaces.

Currently, the largest barrier to automating front-end development is computing power. However, we can use current deep learning algorithms, along with synthesized training data, to start exploring artificial front-end automation right now.

(飛肯) 用CSS3做頁籤

animated-content-tabs-with-css3-01 

In this tutorial we are going to implement some simple CSS3 content tabs using radio buttons together with the :checked pseudo-class and sibling combinators.

 

Content tabs are a very common and familiar element in web design, and often their turn out to be pretty useful. So, in this tutorial we are going to implement some simple CSS3 content tabs using radio buttons together with the :checked pseudo-class and sibling combinators.

Note that the CSS3 properties will only work in browsers that support them.

 

響應網頁設計的50例

Nowadays, it's not only important to develop your clients' websites to look good on all browsers, and on PC and MAC, it's also a must that websites are viewable on tablets and mobile devices. A lot of people opt for making one version of their site for desktop and another for mobile. Others choose Responsive Design, a mix of fluid grids and layouts, flexible images and an intelligent use of CSS media queries. There are quite a few sites dedicated to lending a hand with responsive gridsGridpakCSSGrid Skeleton and SimpleGrid, just to name a few. Here are 50 (plus 1) examples of responsive websites.

(飛肯) CSS3 3D 方塊

Simple CSS3 3D Cube by Jaydson. This cube is created using 6 divs that are positioned using the translateX, translateY and translateZ properties to create a 3D workspace. The container div is given a perspective of 1000px to create the perspective view rather than the orthogonal view (perspective view is only supported in webkit browsers).

The rotation is performed using the animation and keyframes properties. Please note that this demo works best in webkit browsers only. However, it still works in Firefox but you won't be able to see the perspective view.