View on GitHub

reading-notes

Reading Notes about Markdown-Html-Css-JavaScript

MUSTACHE and FLEXBOX

What is Mustache?

Mustache is a simple template system that you can use when building websites and web apps. By using a template system, you can keep your back-end code separate from the markup that displays the front end to the user. This clean separation gives you many advantages. For example, it makes it easy for a designer to work on a website’s visual design without the risk of messing up the site’s code. It also makes it easy for you to change the design at a later point without impacting the back-end code.

Templating with Mustache

<h4>Product Info: </h4>

<ul>
  <li>Product: </li>
  <li>Colour: </li>
  <li>Price: $</li>
</ul>

Flexbox

Flexbox is a single dimensional layout, which means that it lays items in one dimension at a time, either as a row, or as a column, but not both together. This can be opposed to the two-dimensional model - CSS Grid Layout, which lays the items in two dimensions simultaneously (rows and columns together).

Features of Flexbox

Following are the notable features of Flexbox layout −

Supporting browsers

Following are the browsers that support Flexbox.

Chrome 29+

Firefox 28+

Internet Explorer 11+

Opera 17+

Safari 6.1+

Android 4.4+

iOS 7.1+