Samual Sam has Published 2310 Articles

Map.set() function in JavaScript

Samual Sam

Samual Sam

Updated on 25-Jun-2020 12:02:43

77 Views

The set() function of Map object adds or updates elements (key-value pairs) to a Map object.SyntaxIts Syntax is as followsmapVar.set()Example Live Demo    JavaScript Example           var mapVar = new Map();       mapVar.set('1', 'Java');       mapVar.set('2', 'JavaFX');       ... Read More

Perform Animation on CSS border-top-right-radius property

Samual Sam

Samual Sam

Updated on 25-Jun-2020 11:52:02

173 Views

To implement animation on the border-top-right-radius property with CSS, you can try to run the following codeExampleLive Demo                    table, th, td {             border: 2px solid black;          }     ... Read More

Date. toJSON() function in JavaScript

Samual Sam

Samual Sam

Updated on 25-Jun-2020 11:51:17

247 Views

The Date object is a data type built into the JavaScript language. Date objects are created with the new Date( ) as shown below.Once a Date object is created, a number of methods allow you to operate on it. Most methods simply allow you to get and set the year, ... Read More

Animate CSS border-spacing property

Samual Sam

Samual Sam

Updated on 25-Jun-2020 11:48:08

164 Views

To implement animation on the border-spacing property with CSS, you can try to run the following codeExampleLive Demo                    table, th, td {             border: 1px solid green;          }     ... Read More

Align the flex items in the top of the container in CSS

Samual Sam

Samual Sam

Updated on 25-Jun-2020 11:44:22

2K+ Views

Use the align-items property with value flex-start to align flex items on the top.You can try to run the following code to implement the flex-start valueExampleLive Demo                    .mycontainer {             display: flex;     ... Read More

Indicate what character set the style sheet written in with CSS

Samual Sam

Samual Sam

Updated on 25-Jun-2020 11:39:13

168 Views

To indicate what character set the style sheet written with CSS, use the @character rule. The @charset rule must be written right at the beginning of the style sheet without even a space before it. The value is held in quotes and should be one of the standard character-sets.ExampleLet us ... Read More

Perform Animation on CSS border-right property

Samual Sam

Samual Sam

Updated on 25-Jun-2020 11:39:09

185 Views

To implement animation on the border-right property with CSS, you can try to run the following codeExampleLive Demo                    div {             width: 500px;             height: 300px;       ... Read More

Date.getUTCDay() function in JavaScript

Samual Sam

Samual Sam

Updated on 25-Jun-2020 11:38:48

75 Views

The Date object is a data type built into the JavaScript language. Date objects are created with the new Date( ) as shown below.Once a Date object is created, a number of methods allow you to operate on it. Most methods simply allow you to get and set the year, ... Read More

CSS outline-width property

Samual Sam

Samual Sam

Updated on 25-Jun-2020 11:38:13

167 Views

The outline-width property is used to set the width of the outline. Its value should be a length or one of the values thin, medium, or thick, just like the border-width attribute.Example                            This text is having ... Read More

Animate border-color property with CSS

Samual Sam

Samual Sam

Updated on 25-Jun-2020 11:31:45

854 Views

To implement animation on the border-color property with CSS, you can try to run the following codeExampleLive Demo                    div {             width: 500px;             height: 300px;             background: yellow;             border: 10px solid gray;             animation: myanim 3s infinite;             background-position: bottom left;             background-size: 50px;          }          @keyframes myanim {             20% {                border-color: red;             }          }                     Performing Animation for color of border          

Advertisements