Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles by karthikeya Boyini
Page 44 of 143
Fade Down Big Animation Effect with CSS
The CSS Fade Down Big animation effect creates a dramatic exit animation where an element fades out while moving downward by a large distance. This animation is commonly used for dramatic page transitions or removing elements from view. Syntax @keyframes fadeOutDownBig { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; ...
Read MoreCSS background-clip property
The CSS background-clip property is used to define the painting area of the background. It controls how far the background extends within an element. Syntax selector { background-clip: value; } Possible Values ValueDescription border-boxBackground extends to the outer edge of the border (default) padding-boxBackground extends to the outer edge of the padding content-boxBackground extends only to the edge of the content area Example 1: Using padding-box The following example demonstrates background-clip: padding-box where the background does not extend under the border − ...
Read MoreAnimation Effects in CSS
The animation is the process of creating motion effects and changing the appearance of elements. CSS supports different animation effects to create smooth transitions and dynamic visual changes on web pages. CSS animations use a concept called keyframes to control the intermediate steps during the animation sequence. Keyframes define what styles the element will have at certain times during the animation. Syntax @keyframes animation-name { from { /* starting styles */ } to { /* ending styles */ } } /* Or with percentages */ @keyframes animation-name ...
Read MoreCSS border-bottom-left-radius property
The CSS border-bottom-left-radius property is used to set the radius of the bottom-left corner of an element's border. This property allows you to create rounded corners specifically for the bottom-left corner while keeping other corners sharp or applying different radii. Syntax selector { border-bottom-left-radius: value; } Possible Values ValueDescription lengthDefines the radius in px, em, rem, etc. %Defines the radius as a percentage of the element's dimensions initialSets the property to its default value (0) inheritInherits the value from the parent element Example: Setting Bottom-Left Corner Radius ...
Read MoreFade Out Left Big Animation Effect with CSS
The CSS Fade Out Left Big animation effect creates a dramatic exit animation where an element gradually fades out while sliding far to the left (-2000px). This effect combines opacity and transform properties to create a smooth disappearing animation. Syntax @keyframes fadeOutLeftBig { 0% { opacity: 1; transform: translateX(0); } 100% { opacity: 0; ...
Read MoreHow to check the validity of your CSS
Validation is the process of checking something against a rule. When you are a beginner, it is very common that you will commit many mistakes in writing your CSS rules. How will you make sure whatever you have written is 100% accurate and up to the W3C quality standards? If you use CSS, your code needs to be correct. The improper code may cause unexpected results in how your page looks or functions. A CSS validator checks your Cascading Style Sheets to make sure that they comply with the CSS standards set by the W3C Consortium. Why Validate ...
Read MoreOrphans CSS Property
In typographic terminology, orphans are lines of a paragraph stranded at the bottom of a page due to a page break, while widows are lines remaining at the top of a page following a page break. Generally, printed pages do not look attractive with single lines of text stranded at the top or bottom. Most printers try to leave at least two or more lines of text at the top or bottom of each page. The orphans property specifies the minimum number of lines of a paragraph that must be left at the bottom of a page. The ...
Read MoreFade In Left Big Animation Effect with CSS
The CSS Fade In Left Big animation effect creates a dramatic entrance animation where an element slides in from the far left while simultaneously fading in from transparent to opaque. This effect uses translateX(-2000px) to start the element off-screen. Syntax @keyframes fadeInLeftBig { 0% { opacity: 0; transform: translateX(-2000px); } 100% { opacity: 1; ...
Read MoreHow to specify the target media within the document language with CSS
CSS media attributes allow you to specify which devices or media types should apply specific styles. This helps create responsive designs that work across different platforms like screens, printers, and handheld devices. Syntax /* In CSS */ @media media-type { /* CSS rules */ } /* In HTML link tag */ Common Media Types Media TypeDescription screenComputer screens, tablets, phones printPrinters and print preview allAll media types (default) speechScreen readers and speech synthesizers Example: Using Media Attribute in HTML The following example shows how ...
Read MoreCSS cue-after Property
The CSS cue-after property specifies a sound to be played after speaking an element's content in speech synthesis. This property is part of CSS Speech Module and is used by screen readers and other assistive technologies to provide audio cues that help separate content elements. Syntax selector { cue-after: value; } Possible Values ValueDescription url()Specifies the URL of a sound file to be played noneNo sound will be played (default value) Example The following example demonstrates how to add audio cues after different elements − ...
Read More