LG logo

رسم شعار LG بواسطة الـ css

LG logo

html

<div class="circle">
    <span class="g"></span>
    <span class="l"></span>
    <span class="point"></span>
</div>

css

.circle {
    background-color: #C70851;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    position: relative;
}
.g {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 10px solid #fff;
    border-radius: 50%;
    top: 15px;
    left: 15px;
}
.g::before {
    content: "";
    position: absolute;
    border: 100px solid transparent;
    border-right-color: #C70851;
    border-radius: 50%;
    right: -25px;
    top: -25px;
    transform: rotate(-45deg);
}
.g::after {
    content: "";
    position: absolute;
    height: 10px;
    width: 65px;
    background-color: #fff;
    right: -10px;
    top: 65px;
}
.l {
    position: absolute;
    width: 20px;
    height: 80px;
    border: 10px solid #fff;
    top: 55px;
    right: 78px;
    border-top: 0;
    border-right: 0;
}
.point {
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius:50%;
    background-color: #fff;
    top: 55px;
    left: 55px;
}