티스토리 뷰

HTML_CSS/CSS Battle

1-8. Forking Crazy

LHOIKTN 2021. 10. 14. 13:55

 

https://cssbattle.dev/play/8

 

CSSBattle

CSS Code Golfing Game is here!

cssbattle.dev

<div id='head'>
  <div id='pinWrap'>
  <div  class='pin'></div>
  <div id='light' class='pin'></div>
  <div  class='pin'></div>
  <div id='light' class='pin'></div>
  <div class='pin'></div>
  <div id='light' class='pin'></div>
  <div  class='pin'></div>
    </div>
</div>
<div id='tail'></div>
<style>
*{
    margin: 0;
    padding:0;
 	background:#6592CF
  }
  
  body{
    width:400px;
    height:300px;
    position:relative;
  }
  
  div{
    background:#060F55;
  }
  
  #light{
    background:#6592CF;
  }
  
  #head{
    position:absolute;
    width:140px;
    height:200px;
    top:50px;
    left:50%;
    transform:translateX(-50%);
    border-radius:0 0 75px 75px;
  }
  
  #pinWrap{
    width:100%;
    height:100px;
    background: #6592CF; 
    display:flex;    
  }

  .pin{
    width:20px;
    height:110px;
    border-radius:10px 10px 10px 10px;
  }
  
  #tail{
    position:absolute; 
    width:20px;
    height:100px;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
  }
</style>
728x90

'HTML_CSS > CSS Battle' 카테고리의 다른 글

1-10. Cloaked Spirits  (0) 2021.10.14
1-9. Tesseract  (0) 2021.10.14
1-7. Leafy Trail  (0) 2021.10.14
1-6. Missing Slice  (0) 2021.10.14
1-5. Acid Rain  (0) 2021.10.14
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/11   »
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
글 보관함