我无法制作长篇文章'一条线。
我有一个flex对象:
.gameplay{
-webkit-flex: 0 0 60%;
flex: 0 0 60%;
-webkit-flex-flow:row wrap;
flex-flow:row wrap;
justify-content: space-around;
align-items: flex-start;
height:100%;
display: -webkit-flex;
display: flex;
}
在flex对象里面,我有一个普通的div:
#allcards {
display:block;
width: 300px;
height: 30px;
color: aqua;
overflow: visible;
font-size: 20px;
}
请问任何解决方案?
HTML code:
<div class="gameplay">
<div id = "allcards"> some long text..that doesnt respect the width property , it just keeps going in the same line , out of the divs throughout whole page </div>
</div>