Overwrite Inline Styles with CSS

We often find ourselves in situations when we want to overwrite a style we don’t have access to, it’s hard to find or we want to rewrite with CSS a style that has been written in the HTML code or has been set with Javascrpt.
In this article we’re going to discuss the strength of different style declarations and how can we overwrite them.

Let’s say we have the sentence below to start with.

<p>This is our <span id="highlighted">demo text</span>.</p>

Continue reading “Overwrite Inline Styles with CSS”

Why isn’t responsive web design really that complicated?

I have already published an article about the importance of good responsive web design. The penetration of smartphones in the global market has surpassed that of feature phones. The computation prowess possessed by any modern smartphone could be said to rival that of mainstream personal computers less than a decade old. With such a spike in smartphone usage, it is only obvious that the modern day consumer would expect a company to feature a website that is as good as or better suited to mobile devices as compared to their desktop counterparts. This is where responsive web design stands indispensable.bad responsive design

A demonstration of improper responsive design: parts of the UI are truncated on the narrow screen (htmlg.com) Continue reading “Why isn’t responsive web design really that complicated?”