문제

I use isotope javascript on my website. I make nice design and in one page I want to force a new line for the items. How can I do that? I don't want to fit that two elements to be on the same line.

enter image description here

도움이 되었습니까?

해결책

You can do this two ways:

1) Make the isotope container the same width as the items. This can be done by CSS. This way you force every isotope item to be on each line as there are not enough space for two items on one line.

2) Set width of isotope item to 100%. This way it will fill the entire width of the container they are inside.

Both options should work.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top