troyan
1
.movie {
display: grid;
grid-template-columns: 1fr 235px;
align-items: center;
margin-bottom: 10px;
}
.movie-title {
padding-top: 20px;
padding-bottom: 20px;
margin: 0;
}
.tags-list {
margin: 0;
padding: 15px;
display: flex;
flex-wrap: wrap;
}
.tag {
display: grid;
margin: 5px;
}
.tag-link {
margin: 0;
padding: 5px;
padding-right: 10px;
padding-left: 10px;
text-align: center;
}
Много лишнего!
Мой вариант:
body {
margin: 0;
}
.movie {
display: grid;
grid-template-columns: 1fr 235px;
margin-bottom: 10px;
align-items: center;
}
.tags-list {
display: flex;
flex-wrap: wrap;
margin: 0 ;
padding: 15px;
}
.tag {
margin: 5px;
}
.tag-link {
display: block;
padding: 5px 10px;
}
.movie {
display: grid;
grid-template-columns: 1fr 235px;
align-items: center;
margin-bottom: 10px;
}
.tags-list {
margin: 0;
padding: 15px;
display: flex;
flex-wrap: wrap;
}
.tag {
display: grid;
margin: 5px;
}
.tag-link {
margin: 0;
padding: 10px;
padding-top: 5px;
padding-bottom: 5px;
}
zhazha
4
Вариант покороче:
.movie {
display: grid;
grid-template-columns: 1fr 235px;
align-items: center;
margin-bottom: 10px;
}
.tags-list {
display: flex;
flex-wrap: wrap;
margin: 0;
padding: 15px;
}
.tag {
margin: 5px;
}
.tag-link {
display: block;
padding: 5px 10px;
}
body {
margin: 0;
}
.movie {
display: grid;
grid-template-columns: 1fr 235px;
align-items: center;
margin-bottom: 10px;
}
.tags-list {
display: flex;
flex-wrap: wrap;
padding: 20px;
margin: 0;
gap: 10px;
}
.tag-link {
display: block;
padding: 5px 10px;
}