AmitDiwan has Published 10744 Articles

How to create a mixed column layout grid with CSS?

AmitDiwan

AmitDiwan

Updated on 12-May-2020 13:08:30

412 Views

To create a mixed column layout grid with CSS, the code is as follows −Example Live Demo    body {       font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;    }    * {       box-sizing: border-box;    }    .col {     ... Read More

How to create a list grid view with CSS and JavaScript?

AmitDiwan

AmitDiwan

Updated on 12-May-2020 13:06:14

2K+ Views

To create a list grid view, the code is as follows −Example Live Demo    * {       box-sizing: border-box;    }    body {       font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;    }    /* Create two equal columns that floats next ... Read More

How to create a 4-column layout grid with CSS?

AmitDiwan

AmitDiwan

Updated on 12-May-2020 12:55:49

3K+ Views

To create a 4-column layout grid with CSS, the code is as follows −Example Live Demo    body {       font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;    }    * {       box-sizing: border-box;    }    .first, .second, .third, .fourth { ... Read More

How to create a 3-column layout grid with CSS?

AmitDiwan

AmitDiwan

Updated on 12-May-2020 12:52:25

3K+ Views

To create a 3-column layout grid with CSS, the code is as follows −Example Live Demo    body {       padding: 1%;       font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;    }    * {       box-sizing: border-box;    }   ... Read More

How to create a responsive website with Bootstrap 4?

AmitDiwan

AmitDiwan

Updated on 12-May-2020 12:35:16

299 Views

To create a responsive website with Bootstrap 4, the code is as follows −Example Live Demo Bootstrap 4 Website Example    body{       height: 100vh;    } Website ⇅ Logo ... Read More

How to create animations using JavaScript?

AmitDiwan

AmitDiwan

Updated on 12-May-2020 12:28:03

304 Views

To create animations using JavaScript, the code is as follows −Example Live Demo    body{       font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;    }    button{       padding:10px;       font-size: 18px;       background-color: blue;       color:white;     ... Read More

How to create and use a Syntax Highlighter with JavaScript?

AmitDiwan

AmitDiwan

Updated on 12-May-2020 12:23:53

281 Views

To create and use syntax highligher, the code is as follows −Example Live Demo    body {       font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;    }    .colorLinks {       color: rgb(131, 44, 212);       text-decoration: none;       font-size: ... Read More

How to use media queries with JavaScript?

AmitDiwan

AmitDiwan

Updated on 12-May-2020 12:21:04

341 Views

To use media queries with JavaScript, the code is as follows −Example Live Demo    body {       font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;       color: white;       padding: 20px;    } Using media queries with JavaScript ... Read More

How to create a draggable HTML element with JavaScript and CSS?

AmitDiwan

AmitDiwan

Updated on 12-May-2020 12:18:05

633 Views

To create a draggable HTML element with JavaScript and CSS, the code is as follows −Example Live Demo    body {       font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;    }    .dragDiv {       position: absolute;       z-index: 9;       ... Read More

How to close list items with JavaScript?

AmitDiwan

AmitDiwan

Updated on 12-May-2020 11:23:43

587 Views

To close list items with JavaScript, the code is as follows −Example Live Demo    body {       font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;    }    * {       box-sizing: border-box;    }    ul {       list-style-type: none; ... Read More

Advertisements