Smita Kapse has Published 560 Articles

CSS align-content property

Smita Kapse

Smita Kapse

Updated on 24-Jun-2020 09:45:50

159 Views

Align flex lines with CSS align-content property. You can try to run the following code to implement the align-content property. It adds space around the items:ExampleLive Demo                    .mycontainer {             display: flex;   ... Read More

How to specify whether the
or the element should have autocomplete enabled in HTML?

Smita Kapse

Smita Kapse

Updated on 24-Jun-2020 08:19:19

87 Views

Use the autocomplete attribute to enable autocomplete in an HTML form. The autocomplete attribute is used with form elements to set the autocomplete feature on or off. If the autocomplete feature is on, the browser will automatically show values, based on what users entered before in the field.If the autocomplete feature is off, the ... Read More

Create white text with black shadow using CSS

Smita Kapse

Smita Kapse

Updated on 24-Jun-2020 07:19:44

843 Views

Use the text-shadow property to create white text with black shadow.You can try to run the following code to implement the text-shadow property:ExampleLive Demo                    h1 {             color: white;             text-shadow: 3px 3px 3px #000000;          }                     Heading One       Above heading has a text shadow effect.    

How to delay the Transition Effect with CSS

Smita Kapse

Smita Kapse

Updated on 24-Jun-2020 06:57:40

103 Views

Use the transition-delay property to delay the transition effect with CSS. You can try to run the following code to set a 1 second delay of transition:ExampleLive Demo                    div {             width: 150px;   ... Read More

CSS Animation Shorthand property

Smita Kapse

Smita Kapse

Updated on 24-Jun-2020 06:06:13

308 Views

The shorthand property to set all the animation properties is animation. It sets the animation duration, animation name, etc.You can try to run the following code to learn how to work with Animation Shorthand property:ExampleLive Demo                    div {   ... Read More

Style Input Fields of a form with CSS

Smita Kapse

Smita Kapse

Updated on 23-Jun-2020 15:25:45

230 Views

To style the input field of a form, you can try to run the following code. Style the :ExampleLive Demo                    input {             width: 100%;          }                     Fill the below form,                Subject                    Student                    

How to make flexible items display in columns with JavaScript?

Smita Kapse

Smita Kapse

Updated on 23-Jun-2020 12:21:44

126 Views

Use the flexFlow property to set the flexible items to be visible in columns.ExampleYou can try to run the following code to make flexible items display in columns with JavaScript −                    #box {             border: ... Read More

How to set how the last line of a block or a line right before a forced line break is aligned when text-align is "justify" with JavaScript?

Smita Kapse

Smita Kapse

Updated on 23-Jun-2020 11:28:24

295 Views

Use the textAlignLast property in JavaScript to set the last line to right. Set it to right and allow the right alignment.ExampleYou can try to run the following code to return how the last line of a block or a line right before a forced line break is aligned when text-align ... Read More

Match any string with p at the beginning of it.

Smita Kapse

Smita Kapse

Updated on 23-Jun-2020 08:39:10

88 Views

To match any string with p at the beginning of it with JavaScript RegExp, use the ^p Quantifier −Example           JavaScript Regular Expression                        var myStr = "Welcome to our website. We Learners!";          var reg = /^We/g;          var match = myStr.match(reg);                    document.write(match);          

With JavaScript RegExp search a hexadecimal number character.

Smita Kapse

Smita Kapse

Updated on 23-Jun-2020 07:55:32

286 Views

To find a hexadecimal number character with JavaScript Regular Expression, use the following. Add the hexadecimal number here −\xddExampleYou can try to run the following code to find hexadecimal number character. It searches for hexadecimal number 53 i.e. S −           JavaScript Regular Expression     ... Read More

Previous 1 ... 3 4 5 6 7 ... 56 Next
Advertisements