Since this version is a complete rewrite of the library, there is a significant change in the API.
Here is a quick demo.
By default embed-js does nothing. You will need to use plugins to use any functionality.
The current built-in plugins include…
An older version of this blog is present on sitepoint.
Floats, absolutely positioned elements, inline-blocks, table-cells, table-captions, and elements with ‘overflow’ other than ‘visible’ (except when that value has been propagated to the viewport) establish new block formatting contexts.
The above quote pretty much sums up how a block formatting context is formed. But lets redefine it in a way that is easier to understand…
Migrating to Progressive Web Application
Redesign of our mobile website provided us the opportunity to revamp the code base to push performance to the max. With the technological advancement and improved capabilities of modern browsers like Service Workers, IndexedDB, Add to Home Screen, Push Notifications, our aim was to make an app that is fast, performant and reliable.
Here’s how we mastered front-end performance for our progressive web app Housing Go.
Initial discussions revolved around using a subdomain like m.housing.com or mobile.housing.com, …