css 横排 实现代码_ Div+Css教程-查字典教程网
css 横排 实现代码
css 横排 实现代码
发布时间:2016-12-27 来源:查字典编辑
摘要:效果预览:css:html:top0top1top2top3bottom0bottom1bottom2bottom3或者来个更简单的:.fl...

效果预览:

css:

<style type="text/css">

<>

</style>

html:

<div>

<div>top0</div>

<div>top1</div>

<div>top2</div>

<div>top3</div>

</div>

<div>

<div>bottom0</div>

<div>bottom1</div>

<div>bottom2</div>

<div>bottom3</div>

</div>

或者来个更简单的:

<style>

.float_left{

text-align:left;

height: 20px;

width: 25%;

float: left;

}

</style>

<div class = "float_left">asdasd</div>

<div class = "float_left">asdasd</div>

<div class = "float_left">why</div>

相关阅读
推荐文章
猜你喜欢
附近的人在看
推荐阅读
拓展阅读
  • 大家都在看
  • 小编推荐
  • 猜你喜欢
  • 最新 Div+Css教程学习
    热门 Div+Css教程学习
    网页设计子分类