Archive

Category Archives for "CSS"

CSS selectors

CSS selectors are used to select elements in HTML document and to add some styles. While writing styles three most important CSS selectors, and they are class selectors, id selectors and element selectors. And next there are compound selectors and group selectors and these are used to select specific elements is a document. There are […]

Continue reading

CSS Display

CSS Display is used to control visibility of an element, Hiding an element can be done by setting the display property to “none”. display:none hides an element, and it will not take up any space. The element will be hidden, and the page will be displayed as if the element is not there. For CSS […]

Continue reading

CSS Background Image

CSS Background Image can be used to add an background image to any element. Background Image CSS property is used in Background shorthand CSS property. The background of an element is the total size of the element, including padding and border (but not the margin). By default, a background-image is placed at the top-left corner […]

Continue reading

CSS Border Radius

CSS Border Radius the border-radius property is a shorthand property for setting the four sides border radius properties. Border radius property allows you to add rounded borders to elements. Border Radius only works for latest web browsers, and on different sides different border radius can be applied. Here is syntax for border radius and example […]

Continue reading

CSS Background

CSS Background is used to apply background color or image pattern, this background image pattern can be shown in x axis or y axis. CSS Background is shorthand property of background-color, background-image, background-position and background repeat. All these properties will be combined in one single property as CSS Background. Here is the syntax for Background […]

Continue reading

CSS Border

CSS Border will be used to apply border to any html element. The CSS Border shorthand property sets all the border properties in one declaration or statement. The Border properties that can be set using CSS Border, are border-width, border-style, and border-color. And the order doesn’t matter and if one of the values are missing […]

Continue reading