filmov
tv
Pagination in React JS | Understand the Concept of Pagination in React in Hindi
Показать описание
Hi People,
CSS -
.table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
font-size: 18px;
text-align: left;
}
.table th, .table td {
padding: 12px 15px;
border: 1px solid #ddd;
}
.table th {
background-color: #f2f2f2;
}
.table th{
background-color: grey;
}
.table tr:nth-child(even) {
background-color: #f9f9f9;
}
.pagination {
display: flex;
justify-content: center;
margin: 20px 0;
}
.pagination button {
background-color: #4CAF50;
color: white;
border: none;
padding: 10px 20px;
margin: 0 5px;
cursor: pointer;
border-radius: 5px;
}
.pagination button:disabled {
background-color: #ddd;
cursor: not-allowed;
}
background-color: #008CBA; /* Change to your preferred color */
color: white;
}
**********************************************************
#beginners #coding #programming
Follow me on Social Platforms
Thank you guys for your support, subscribe @yoshitajain0812
Love,
Yoshita :)
CSS -
.table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
font-size: 18px;
text-align: left;
}
.table th, .table td {
padding: 12px 15px;
border: 1px solid #ddd;
}
.table th {
background-color: #f2f2f2;
}
.table th{
background-color: grey;
}
.table tr:nth-child(even) {
background-color: #f9f9f9;
}
.pagination {
display: flex;
justify-content: center;
margin: 20px 0;
}
.pagination button {
background-color: #4CAF50;
color: white;
border: none;
padding: 10px 20px;
margin: 0 5px;
cursor: pointer;
border-radius: 5px;
}
.pagination button:disabled {
background-color: #ddd;
cursor: not-allowed;
}
background-color: #008CBA; /* Change to your preferred color */
color: white;
}
**********************************************************
#beginners #coding #programming
Follow me on Social Platforms
Thank you guys for your support, subscribe @yoshitajain0812
Love,
Yoshita :)
Комментарии