FavoriteBooksPage.css

mail@pastecode.io avatar
unknown
plain_text
a month ago
1.1 kB
2
Indexable
Never
.favorite-books-page {
  padding: 20px;
}

.favorite-books-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  font-size: 15px;
 
}

.favorite-book-item {
  position: relative;
  text-decoration: none;
  box-sizing: border-box;
  transition: transform 0.3s ease;
  box-shadow: 0 0 10px 5px #132124;
  border-radius: 10px;
  overflow: hidden;
  width: 200px;
  height: 310px;
}

.favorite-book-item img {
  width: 200px;
  height: 250px;
  object-fit: cover;
  margin-bottom: 10px;
  border-radius: 10px;
}

.favorite-book-info {
  margin-left: 0;
  /* Đảm bảo không có margin left */
  margin-right: 0;
  /* Đảm bảo không có margin right */
  padding: 0;
}

.favorite-book-item p {
  color: #DFDDD1;
  font-weight: bold;
  padding-left: 10px;
  font-size: 1.2em;
}

.favorite-book-info .start {
  color: yellow;
}

.favorite-book-item a {
  text-decoration: none;
  color: inherit;
}

.favorite-book-item a:hover {
  text-decoration: none;
}


.favorite-book-item:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px 10px #132124;
}
Leave a Comment