AmitDiwan has Published 11430 Articles

Setting Cross Browser Opacity using CSS

AmitDiwan

AmitDiwan

Updated on 27-Dec-2023 16:08:34

192 Views

The property opacity is the modern solution and works for Firefox, Safari, opera, and every version of chrome. The -moz-opacity property is the opacity property for Firefox while the –khtml-opacity property is for safari. The filter property is to give opacity like effect. Using all these values together as a ... Read More

Setting Column Rules in CSS3

AmitDiwan

AmitDiwan

Updated on 27-Dec-2023 16:06:24

99 Views

To set column rules, you can use the shorthand column-rule property, which allows you to set the following properties − column-rule-width: set the width of the rule between columns column-rule-style: set the style of the rule between columns column-rule-color: set the rule of the rule between columns The ... Read More

Setting Column Gap using CSS3

AmitDiwan

AmitDiwan

Updated on 27-Dec-2023 16:04:20

89 Views

To set a column gap on a web page, use the column-gap property. You can set the values as − column-gap: length|normal|initial|inherit; The values can be − length − The gap between the columns normal − A normal gap between the columns Gap between the columns ... Read More

Setting Column Count or Width using CSS3

AmitDiwan

AmitDiwan

Updated on 27-Dec-2023 16:02:01

103 Views

Use the columns property in CSS3 to set the column count and width. It is a shorthand property for column-width and column-count properties. With that, you can set both the properties separately as well. The column property The column property works as a shorthand property for the column-with and column-count ... Read More

Width and Height of Elements in CSS

AmitDiwan

AmitDiwan

Updated on 27-Dec-2023 15:56:15

1K+ Views

To specify the height and width of an element, use the CSS height and width properties, respectively. We can also set the maximum and minimum values for these properties using the max-height, max-width, min-height, and min-width properties. Syntax The following is the syntax of height and width properties in CSS ... Read More

Understanding the CSS3 Filter Functions

AmitDiwan

AmitDiwan

Updated on 27-Dec-2023 15:54:12

65 Views

The filter functions are used to set visual effects on elements like contrast, brightness, hue rotation, opacity, on images, etc. Let us now see some filter functions. Syntax The following is the syntax of the filter in CSS − filter: none | drop-shadow() | blur() | brightness() | ... Read More

Understanding CSS Visual Formatting

AmitDiwan

AmitDiwan

Updated on 27-Dec-2023 15:51:25

123 Views

Visual Formatting in CSS is based on the Box Model. The CSS Visual Formatting is a model corresponding to an algorithm which processes and transforms each element of the document to generate one or more boxes that conform to the CSS Box Model. The layout of generated boxes depends on ... Read More

Pseudo-classes and CSS Classes

AmitDiwan

AmitDiwan

Updated on 26-Dec-2023 16:33:26

169 Views

CSS Pseudo-classes can be combined with CSS classes rather than elements themselves to provide a more selective approach to an HTML element. Let us see some quick snippets to understand. Our css class is .dropbtn and pseudo-class is :focus .dropbtn:focus { background-color: #4f3e8e; } Our ... Read More

Working with CSS3 2D Transform Functions

AmitDiwan

AmitDiwan

Updated on 26-Dec-2023 16:29:44

48 Views

2D transforms are used to re-change the element structure as translate, rotate, scale, and skew. The following are some of the 2D transform functions − Sr.No. Value & Description 1 matrix(n, n, n, n, n, n)Used to defines matrix transforms with six values ... Read More

Working with CSS Pseudo Classes

AmitDiwan

AmitDiwan

Updated on 26-Dec-2023 16:28:13

145 Views

We can add specific styles to existing elements in HTML using CSS Pseudo classes which select an element with a specific state such as (hover, visited, disabled, etc.) NOTE − To separate CSS Pseudo Classes from Pseudo Elements, in CSS3, pseudo classes use single-colon notation. Syntax The following is the ... Read More

Previous 1 ... 5 6 7 8 9 ... 1143 Next
Advertisements