Home / Articles

Articles

How to make a simple gradient using box-shadow CSS property

How to make a simple gradient using box-shadow CSS property
This article demonstrates that box-shadow CSS property can be used not only to create shadows around an element, but also to create a gradient inside an element as background.

Simple content accordion using only CSS3

Simple content accordion using only CSS3
The following article shows how to create a simple content accordion without JavaScript using only CSS3.

How to draw a heart using only CSS

How to draw a heart using only CSS
The present article is intended for demonstration purposes and shows how to simply draw a heart using only CSS.

Social media icons with animated tooltips using only CSS3

Social media icons with animated tooltips using only CSS3
This article explains how create social media icons with animated tooltips without JavaScript using only CSS3.

How to draw stars using only CSS

How to draw stars using only CSS
The current article is more for demonstration purposes. It shows how to draw six-pointed and five-pointed stars using only CSS.

Social media icons with fade in and out animation using only CSS3

Social media icons with fade in and out animation using only CSS3
This article demonstrates how to simply create fade in and out animation using only CSS3 for social media icons.

Social media icons with slide up and down animation using only CSS3

Social media icons with slide up and down animation using only CSS3
This article demonstrates how simple it is to create slide up and down animation for social media icons using only CSS3.

CSS filter effects

CSS filter effects
CSS filters were created to achieve various visual effects when applied to DOM elements. In this article we will talk about the history of filters, what they are capable of and how to apply them. Also we will discuss their effect on performance of desktop and mobile devices.

Triangles with different shapes and orientations using only CSS

Triangles with different shapes and orientations using only CSS
CSS doesn't have special property for making triangles. But smart web developers invented a hack which allows to make triangles with different shapes and orientations using only CSS.

Creating circles and ovals using only CSS3 with cross-browser support

Creating circles and ovals using only CSS3 with cross-browser support
CSS3 still surprises with a bunch of new features. Making circles and ovals has never been easier before. It can be done by one simple CSS property with appropriate value.

How to create a simple tooltip using only CSS3

How to create a simple tooltip using only CSS3
This article demonstrates how to create a simple tooltip using only CSS3 with minimal styles. Consider the following example of tooltips for links.

Resizing YouTube and HTML5 videos proportionally using CSS for responsive web design

Resizing YouTube and HTML5 videos proportionally using CSS for responsive web design
This article demonstrates how video can be resized automatically to fit the width of its container using only CSS with appropriate aspect ratio. The current solution works for any video which is set in iframe, embed, object or video tags.

CSS3: media queries

CSS3: media queries
CSS3 introduces an extension on the media types you might already use in HTML4 and CSS2. These media types allow you to define style sheets specifically for screen and print media types, as well as others. But with CSS3 media queries, you can be more precise about where exactly you want to apply the styles it defines.

How to resize images proportionally using CSS for responsive web design

How to resize images proportionally using CSS for responsive web design
One of the important parts of a responsive web design is resizing the image automatically to fit the width of its container. Actually it's very easy, all you need to do is to set the appropriate value for max-width CSS property.

Quick navigation

General navigation