Web Development Articles

Page 198 of 801

Define skew transforms along with x axis using CSS

Nikitha N
Nikitha N
Updated on 11-Mar-2026 210 Views

You can try to run the following code to implement skew transforms along with x-axis using CSS −Example                    div {             width: 300px;             height: 100px;             background-color: pink;             border: 1px solid black;          }          div#skewDiv {             /* IE 9 */             -ms-transform: skewX(20deg);                        /* Safari */            - webkit-transform: skewX(20deg);                        /* Standard syntax */            transform: skewX(20deg);         }                              Tutorials point.com.                      Tutorials point.com           Output

Read More

Example of key frames with left animation using CSS3

mkotla
mkotla
Updated on 11-Mar-2026 185 Views

The following example shows height, width, color, name, and duration of animation with keyframes syntax −Example                    h1 {             -moz-animation-duration: 3s;             -webkit-animation-duration: 3s;             -moz-animation-name: slidein;             -webkit-animation-name: slidein;          }          @-moz-keyframes slidein {             from {                margin-left:100%; width:300%             }             to {                margin-left:0%; width:100%;             }          }          @-webkit-keyframes slidein {             from {                margin-left:100%; width:300%             }             to {                margin-left:0%; width:100%;             }           }                     Tutorials Point       this is an example of moving left animation .       Reload page       function myFunction() { location.reload(); }    

Read More

CSS3 Multi-Column column-rule Property

Giri Raju
Giri Raju
Updated on 11-Mar-2026 58 Views

The multi-column column-rule property is used to specify the number of rules.You can try to run the following code to implement the column-rule property in CSS3 −Example                    .multi {             /* Column count property */             -webkit-column-count: 4;             -moz-column-count: 4;             column-count: 4;                         /* Column gap property */             -webkit-column-gap: 40px;   ...

Read More

CSS3 Multi-Column column-gap Property

George John
George John
Updated on 11-Mar-2026 184 Views

The multi-column column-gap property is used to decide the gap between the columns.ExampleYou can try to run the following code to implement column-gap property                    .multi {             /* Column count property */             -webkit-column-count: 4;             -moz-column-count: 4;             column-count: 4;                         /* Column gap property */             -webkit-column-gap: 40px;         ...

Read More

CSS3 Multi-Column rule-color Property

vanithasree
vanithasree
Updated on 11-Mar-2026 154 Views

The multi-column rule-color property is used to specify the column rule color. You can try to run the following code to implement a rule-color property in CSS3 −Example                    .multi {             /* Column count property */             -webkit-column-count: 4;             -moz-column-count: 4;             column-count: 4;                         /* Column gap property */             -webkit-column-gap: 40px; ...

Read More

Style <input> elements with a value within a specified range with CSS

Chandu yadav
Chandu yadav
Updated on 11-Mar-2026 193 Views

To style elements with a value within a specified range, use the CSS :in-range selector. You can try to run the following code to implement the :in-range selectorExample                    input:in-range {             border: 3px dashed orange;             background: yellow;          }                           The style only works for the value entered i.e. 9    

Read More

Role of CSS :nth-last-of-type(n) Selector

mkotla
mkotla
Updated on 11-Mar-2026 192 Views

Use the CSS :nth-last-of-type(n) selector to select every element that is the second element of its parent, counting from the last child.ExampleYou can try to run the following code to implement the :nth-last-of-type(n) selector:                    p:nth-last-of-type(2) {             background: blue;             color: white;          }                     This is demo text 1.       This is demo text 2.       This is demo text 3.       This is demo text 4.       This is demo text 5.    

Read More

Show the background image only once with CSS

Giri Raju
Giri Raju
Updated on 11-Mar-2026 858 Views

Use the background-repeat property to display the background image only once. You can try to run the following code to implement the background-repeat property −Example                    body {             background-image: url("https://www.tutorialspoint.com/videotutorials/images/tutor_connect_home.jpg");             background-repeat: no-repeat;          }                     Background Image    

Read More

Set the style of the bottom border using CSS

George John
George John
Updated on 11-Mar-2026 239 Views

To set the style of the bottom border, use the border-bottom-style property. The values for the border you can set is, dotted, double, dashed, solid, etc.ExampleYou can try to run the following code to style bottom border                    p.dotted {border-bottom-style: dotted;}          p.double {border-bottom-style: double;}          p.dashed {border-bottom-style: dashed;}          p.solid {border-bottom-style: solid;}          p.inset {border-bottom-style: inset;}          p.outset {border-bottom-style: outset;}                     Dotted bottom border.       Double bottom border.       Dashed bottom border.       Solid bottom border.       Inset bottom border.       Outset bottom border.     Output

Read More

Set the width of the left border using CSS

seetha
seetha
Updated on 11-Mar-2026 74 Views

To set the width of the left border, use the border-left-width property in CSS. You can try to run the following code to implement the border-left-width property −Example                    p {             border-style: dashed;             border-left-width: 10px;          }                     This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo ...

Read More
Showing 1971–1980 of 8,006 articles
« Prev 1 196 197 198 199 200 801 Next »
Advertisements