Found 1566 Articles for CSS

CSS Grid Gaps

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

128 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

260 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

310 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

382 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

178 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

398 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                          

CSS grid-template-columns property

Nishtha Thakur
Updated on 03-Jul-2020 08:05:30

83 Views

The grid-template-columns property is used to set the number of columns in the Grid.ExampleYou can try to run the following code to implement the grid-template-columns property −Live Demo                    .container {             display: grid;             background-color: blue;             grid-template-columns: auto auto;             padding: 20px;             grid-gap: 20px;          }          .container > div {             background-color: orange;             border: 2px solid gray;             padding: 35px;             font-size: 30px;             text-align: center;          }                     Game Board                1          2          3          4          5          6          

Set style for pagination with CSS

George John
Updated on 24-Jun-2020 09:50:08

127 Views

You can try to run the following code to style pagination with CSSExampleLive Demo                    .demo {             display: inline-block;          }          .demo a {             color: red;             float: left;             padding: 7px 10px;               text-decoration: none;          }                     Our Quizzes                          

Advertisements