div set height equal

后端 未结 4 1297
不知归路
不知归路 2021-01-26 00:57

I have 3 divs. How can I make them equal if the other div height adjust. I want all my divs to adjust its height even do they have less co

4条回答
  •  被撕碎了的回忆
    2021-01-26 01:19

    first part looks like a duplicate from https://stackoverflow.com/a/10235116/1902425

    to your second part: if you're doing it with js, your height is dynamically calculated, so you can postion your "Read More" link wir position: absolute little example:

    Idont knows

    Your content

    CSS:

    .column-small {
         position: relative;
         height: 240px;
    }
    .readmore {
        position: absolute;
        bottom: 10px;
        right: 10px;
    }
    

提交回复
热议问题