CSS Basics

This category contains tutorials related to CSS Basics

CSS Padding

In this tutorial, we will learn about CSS Padding. The CSS padding property is used to add some empty space around the HTML element. CSS padding works from outside to inside means CSS padding defines the space between an HTML element and its border. you can set the padding for each side (top, right, bottom, and left) […]

CSS Padding Read More »

CSS Margins

In this tutorial, we will learn about CSS Margins. CSS margin property is used to set space around the HTML elements. CSS margin property can be used to set margin separately for each side(top, right, bottom, and left) or together to all four sides. Setting Margin Individual Sides: There are four CSS properties to set the margin for each side.

CSS Margins Read More »

CSS Borders

In this tutorial, we will learn about CSS Borders. CSS Borders are used to set Border around HTML elements. In CSS we set Border style, Border thickness, Border colour etc. Here we will learn several CSS properties to set border of any HTML element. border-style border-width border-color Border Style: Border style properties are used to set the style

CSS Borders Read More »

CSS Backgrounds

In this tutorial we will learn about CSS Backgrounds. CSS Background is use to add background in HTML elements. There are various CSS Background properties available Here to set Background. background-color background-image background-repeat background-attachment background-position

CSS Backgrounds Read More »

CSS Colors

In this tutorial, we will learn about CSS colours. CSS colors are use to mention colors for HTML elements. For example, you want to set the colour of paragraph element or you want to set the background colour of a specific portion of the web page. In CSS we can define the colour for different HTML

CSS Colors Read More »

CSS Measurement Units

In this tutorial we will learn about CSS Measurement Units.CSS Measurement units are used to mention the size of HTML elements in the web page like to mention text size of paragraph element or height and width of image elements. CSS support number of measurement units. Please check the list of various Measurement units below. List

CSS Measurement Units Read More »

CSS Selectors

In this tutorial, we will learn about the CSS selector. CSS Selectors are use to select and style HTML elements. There are various ways to select and style HTML elements you can select HTML elements with the tag name. For example, you want to style H1 tag in your web page when you with style (like

CSS Selectors Read More »

Types Of CSS

In this tutorial, we ill learn about Types of CSS. I hope you would have a clear idea about how CSS works and How we can use it to design our web pages. CSS types are divided according to where we write CSS code (physical placement of code). We have three kinds of CSS. Inline

Types Of CSS Read More »

Scroll to Top