How to Draw Triangles in CSS3

[raw]One of the many advantages of CSS3 is that it makes web pages look better without always having to use image files. This means some basic graphic functionality is achievable solely through CSS3. Drawing shapes with CSS3 is one such advantage. While shapes like squares and rectangles are relatively simple, drawing a triangle requires a … Read more…

Horizontally Center a Smaller Div within a Larger Div

[raw]There are times when you have a div container within a div container and need to centralize the inner div container along the horizontal axis. You may have tried align=”center” but this is obsolete. The effect can be simply achieved by applying CSS to the inner div container that needs to be horizontally centralized. This … Read more…

Disable Text Selection and Highlighting with CSS

[raw] There are situations when designing a website where text selection is not desirable. This may not apply to the entire web page but only to certain elements on it. Disabling the ability to select and highlight text can be achieved through a number of different means. Using JavaScript is one method but sometimes the … Read more…

CSS Basics Introduction

[raw] What is CSS? CSS stands for Cascade Styling Sheet. It simply tells a browser how to lay out content. HTML is the basic language that all web browsers understand. It defines different elements as seen in a browser, like text content, links, titles and subtitles, images and so on. CSS is basically the design … Read more…

CSS3 Webkit

What is WebKit? The word ‘webkit’ has become more popular in recent times when talking about CSS and web design. However, there is still quite a bit of confusion relating to the term ‘webkit’ in terms of what it means and how it is used when coding CSS. Webkit refers to the browser rendering engine … Read more…