Flutter Logo

Flutter Logo

html

<div class="box">
  <div class="f1"></div>
  <div class="f2"></div>
  <div class="f3"></div>
</div>

css

.box{
    position: absolute;
    width: 200px;
    height: 200px;
    margin: 100px;
    transform:rotate(-45deg);
}
.f1{
    position: absolute;
    width: 150px;
    height: 30px;
    background-color:#48d1f9;
    clip-path: polygon(70% 0, 0 0, 0 100%, 100% 100%);
}
.f2{
    position: absolute;
    width: 100px;
    height: 30px;
    top: 50px;
    background-color:#48d1f9;
    clip-path: polygon(70% 0, 0 0, 0 100%, 100% 100%);
}
.f2:before{
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    background-color: #2494cc;
}
.f3{
    position: absolute;
    width: 30px;
    height: 60px;
    top: 80px;
    background-color:#04549c;
    clip-path: polygon(100% 0, 0 0, 0 50%, 100% 100%);
}
مصدر الاكواد