Author: Saim Khalid

  • overscroll behavior

    The CSS property overscroll-behavior is a shorthand property that determines what a browser does when the boundary of a scrolling area is reached. The constituent properties of this property are overscroll-behavior-x and overscroll-behavior-y. Scroll chaining is a behavior that is observed when a user scrolls past the boundary (top, bottom, left or right) of a scrollable element, causing the scrolling on…

  • isolation Property

    CSS isolation property is used to control how an element’s content interacts with its parent and sibling elements in terms of rendering and stacking context. It essentially determines whether an element establishes a new stacking context or not. Syntax isolation: auto | isolate | initial | inherit; Property Values Value Description auto It indicates that the element’s…

  • inset Property

    CSS inset property is used to control the position of an element relative to its containing block. It is a shorthand property for defining values to the properties top, right, bottom, and / or left in a single statement. The position property must be declared in order for the property to show its effect. Syntax inset: auto | length | percentage | initial |…

  • all Property

    CSS all property resets all properties of an element, with the exception of unicode bidi, direction and CSS custom properties. It can reset properties to their original or inherited values or to the values explicitly defined in another cascade layer or in the stylesheet origin. Syntax all: initial | inherit | unset; Property Values Value Description initial It changes all the…

  • min content Property

    The CSS min-content is a value that can be used for sizing properties to specify the minimum size of a box or element based on its content. It specifically suggests that text content will make use of soft-wrapping opportunities, which enable the material to resize to the length of its longest word. The min-content value is calculated based on…

  • Unicode bidi Property

    CSS unicode-bidi property is used to control how bidirectional text is displayed in a document. Bidirectional text contains both left-to-right (LTR) and right-to-left (RTL) text. The unicode-bidi property allows developers to override the default behavior of the browser and ensure that bidirectional text is displayed correctly. Possible Values Applies to All positioned elements, but some of the values have…

  • writing mode Property

    CSS writing-mode property is used to specify the direction of text content flows within an element. It specifies whether text should be displayed horizontally or vertically. It is particularly useful for handling text orientation in non-Latin scripts, such as Chinese, Japanese, and Arabic, as well as for creating creative and visually interesting layouts. Possible Values The lr, lr-tb,…

  • clip Property

    CSS clip property is used to create a clipping region for an element, which defines the visible area of the element. Only the specified region will be visible and other regions will be hidden. The clip property only applies to elements with absolute or fixed positioning. Syntax clip: auto | shape | initial | inherit; Property Values…

  • Counters

    CSS counters act as variables that are used for numbering purposes. They can be increased or decreased by CSS rules. Counters enable us to modify the presentation of content depending on its position. For instance, you can use counters to automatically assign numbers to paragraphs, headings, and lists. body{counter-reset: section;}/* A simple counter when a…

  • Box Model

    CSS Box Model is a fundamental concept in CSS (Cascading Style Sheets) that define how an elements on a web page will be structured and displayed. It defines the properties and behavior of the content, padding, borders, and margins of an element. Here in this article you will learn all about the CSS Box Model. What is CSS box model?…