The presentation, content, and behavior should always be separate. These should exist and maintained individually. Your markup should be well-formed, it should be semantically correct and it should be generally valid. Presentation and layouts should never depend upon JavaScript. JS should just progressively enhance the experience. And Yes, inefficient css can reduce the page speed . . . read more
Articles categorized Base
Neat & clean html conditional classes
We have been using html conditional classes for a couple of years now. We have always talked about neat and clean code. Out of all the things, your html conditional classes should be neat and clean, precise, compact and targeted correctly. After-all, this is the very first thing you serve. Lets look at the most . . . read more
compass-animation saves all the time and efforts
Just wanted to introduce the compass animate plugin. It great and saved our lots of efforts. A normal css animation looks like this: But that’s not the reality, you need to include all the vendors 😡 , your code gets from 1x to 4-5x of lines immediately. Multiple times copy pasting the same code and . . . read more
Things to keep in mind before embedding web fonts & hosting them on a CDN 1
Web fonts served from Amazon S3 are not working in Firefox. We face this issue every time we deploy a new project and S3 bucket. We found the solution here. I am just summarizing the main points in the following article. We are looking into this very specific case. You need to enable Cross Origin . . . read more