Category: Snippets

Responsive images

In order to create responsive image you need to add  max-width:100% property to <img> and set width and height properties to auto.  The width and height could be omitted if there were no predefined values for them.


Gradients are smooth transitions between colors. The css linear-gradient() or css radial-gradient() are functions which create image. You can set the direction of colors, number of colors and when they start. The linear-gradient() function creates object of linear gradient of colors. The radial-gradient() function create object of gradient of colors radiating form an origin of […]