P
P
Pennyw1se2018-02-08 14:09:49
css
Pennyw1se, 2018-02-08 14:09:49

How to fix bootstrap cards?

How to fix so that when adding text they remain at the same level?5a7c2fedcca7a281936752.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
marataziat, 2018-02-08
@marataziat

style="height: 228px;"

L
lodas, 2018-02-08
@lodas

Giving a fixed height is not the best option, you can do it through flexbox... but here you need to take into account how many rows with products you will have. flexbox aligns to the tallest element on the line. If there is only one line, then we do it through flexes, if there are more than 1 lines, we write a js script that runs through all the lines, looks for the maximum block in height there and assigns this height to all blocks.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question