Found 10483 Articles for Web Development

How to specify the number of columns an element should be divided into with CSS

Chandu yadav
Updated on 24-Jun-2020 11:38:36

258 Views

To specify the number of columns an element should be divided into, use the column-count property.You can try to run the following code to implement the column-count property with 4 columnsExampleLive Demo                    .demo {             column-count: 4;          }                              This is demo text. This is demo text. This is demo text.          This is demo text. This is demo text. This is ... Read More

Center pagination on a web page with CSS

Daniol Thomas
Updated on 24-Jun-2020 11:39:33

808 Views

You can try to run the following code to center pagination on a web page:ExampleLive Demo                    .demo {             display: inline-block;          }          .demo1 {             text-align: center;          }          .demo a {             color: red;             padding: 5px 12px;             text-decoration: none;             transition: background-color 2s;             border: 1px solid orange;             font-size: 18px;          }          .demo a.active {             background-color: orange;             color: white;             border-radius: 5px;          }          .demo a:hover:not(.active) {             background-color: yellow;          }          .demo a:first-child {             border-top-left-radius: 10px;             border-bottom-left-radius: 10px;          }          .demo a:last-child {             border-top-right-radius: 10px;             border-bottom-right-radius: 10px;          }                     Our Quizzes                                                

CSS Grid Gaps

Arjun Thakur
Updated on 30-Jul-2019 22:30:22

129 Views

The space as shown in the following figure, between rows and columns are called Grid Gaps

CSS Grid Rows

Rishi Rathor
Updated on 30-Jul-2019 22:30:22

135 Views

The horizontal line in the following is called Grid Rows.

Change the size of the pagination with CSS

Krantik Chavan
Updated on 24-Jun-2020 11:28:45

375 Views

To change the pagination size, use the font-size property. You can try to run the following code to increase the size of pagination:ExampleLive Demo                    .demo {             display: inline-block;          }          .demo a {             color: red;             padding: 5px 12px;             text-decoration: none;             transition: background-color 2s;             border: 1px solid orange;             font-size: 18px;          }          .demo a.active {             background-color: orange;             color: white;             border-radius: 5px;          }          .demo a:hover:not(.active) {             background-color: yellow;          }          .demo a:first-child {             border-top-left-radius: 10px;             border-bottom-left-radius: 10px;          }          .demo a:last-child {             border-top-right-radius: 10px;             border-bottom-right-radius: 10px;          }                     Our Quizzes                          

Add space between pagination links with CSS

Jennifer Nicholas
Updated on 24-Jun-2020 11:20:34

405 Views

You can try to run the following code to add space between pagination links with CSS:ExampleLive Demo                    .demo {             display: inline-block;          }          .demo a {             color: red;             padding: 5px 12px;             text-decoration: none;             transition: background-color 2s;             border: 1px solid orange;          }          .demo a.active {             background-color: orange;             color: white;             border-radius: 5px;          }          .demo a:hover:not(.active) {             background-color: yellow;          }          .demo a:first-child {             border-top-left-radius: 10px;             border-bottom-left-radius: 10px;          }          .demo a:last-child {             border-top-right-radius: 10px;             border-bottom-right-radius: 10px;          }                     Our Quizzes                          

Usage of CSS grid-column-gap property

Chandu yadav
Updated on 24-Jun-2020 11:16:27

99 Views

Set gap between Grid columns with CSS. You can try to run the following code to implement the grid-column-gap property.ExampleLive Demo                    .container {             display: grid;             background-color: green;             grid-template-columns: auto auto;             padding: 20px;             grid-column-gap: 20px;          }         .ele {            background-color: orange;            border: 2px solid gray;            padding: 35px;            font-size: 30px;            text-align: center;         }                     Game Board                1          2          3          4          5          6          

Add rounded borders to first and last link in the pagination using CSS

Nancy Den
Updated on 03-Jul-2020 08:03:19

501 Views

To add rounded borders, use the border-radius property. For top/ bottom left, use the border-top-left-radius property and for bottom, use border-bottom-left-radius. In the same way, set for top/bottom right.ExampleYou can try to run the following code to add rounded borders to first and last link in the pagination −Live Demo                    .demo {             display: inline-block;          }          .demo a {             color: red;             padding: 5px 12px;   ... Read More

Add hoverable pagination with CSS

Yaswanth Varma
Updated on 08-Jan-2024 13:00:59

275 Views

Pagination is used to separate the given document into pages and assigns numbers. It makes easier to navigate through a lot of content by separating various entries or web content into separate pages, which makes content switching easy. Pagination enabled web links let users to scroll over your content. One effective technique for indexing on the home page of different website pages is CSS pagination. You need to implement pagination for every page on your website if it has a lot of them. hoverable pagination is nothing, but it gets hover when the user moves the mouse over pagination. There ... Read More

Create a transition effect on hover pagination with CSS

Anvi Jain
Updated on 03-Jul-2020 08:06:04

545 Views

To create a transition effect on hover pagination, use the transition property.ExampleYou can try to run the following code to add transition effect −Live Demo                    .demo {             display: inline-block;          }          .demo a {             color: red;             padding: 5px 12px;             text-decoration: none;             border-radius: 5px;             transition: background-color 2s;          }          .demo a.active {             background-color: orange;             color: white;             border-radius: 5px;          }          .demo a:hover:not(.active) {             background-color: yellow;          }                     Our Quizzes                          

Advertisements