[CSS]インライン要素のspanのサンプル

2021年8月25日

書式
クラス名 span{xxx}
使用例

<style>
  .cft {
    background-color: skyblue;
  }
  .cft span {
    height: 30px;
    margin: 25px 25px 25px 25px;
  }
</style>
<div class="cft">
  <span>abc 1111</span>
  <span>def 222</span>
</div>

 

CSS

Posted by arkgame