日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 前端技术 > HTML >内容正文

HTML

logo自动旋转 html,HTML/CSS3 Logo选择器

發布時間:2023/12/19 HTML 32 豆豆
生活随笔 收集整理的這篇文章主要介紹了 logo自动旋转 html,HTML/CSS3 Logo选择器 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

CSS

語言:

CSSSCSS

確定

@import "https://fonts.googleapis.com/css?family=Product+Sans";

@import "https://fonts.googleapis.com/css?family=Lato:400,700";

@import "https://fonts.googleapis.com/css?family=Nunito:400,700";

body {

background: #eee;

font-family: Lato, sans-serif;

}

.holder {

width: 200px;

height: 250px;

position: absolute;

top: 50%;

left: 50%;

-webkit-transform: translate(-50%, -50%);

transform: translate(-50%, -50%);

}

select {

height: 30px;

margin-top: 20px;

line-height: 30px;

width: 200px;

border: 0;

text-transform: capitalize;

outline: 0;

color: #666;

background: transparent;

border-bottom: solid 4px #ddd;

}

.logos {

width: 200px;

height: 200px;

}

.logos .logo {

position: absolute;

display: none;

text-align: center;

pointer-events: none;

-webkit-user-select: none;

-moz-user-select: none;

-ms-user-select: none;

user-select: none;

cursor: pointer;

}

.logos .logo:first-of-type {

display: block;

}

#pepsi {

width: 180px;

height: 180px;

background: #004883;

margin: 5px 0 0 5px;

border-radius: 50%;

box-shadow: 0 0 0 2px #004883;

border: 5px solid #fff;

overflow: hidden;

}

#pepsi .inner {

width: 170px;

height: 170px;

border-radius: 50%;

margin: 5px 0 0 5px;

}

#pepsi .inner .white {

width: 300px;

height: 300px;

background: #fff;

border-radius: 25%;

-webkit-transform: translate(-50%, -55%) rotate(-10deg);

transform: translate(-50%, -55%) rotate(-10deg);

}

#pepsi .inner .red {

background: red;

width: 400px;

height: 400px;

border-radius: 50%;

-webkit-transform: translate(-60%, -141%);

transform: translate(-60%, -141%);

}

#dell {

width: 180px;

height: 180px;

border: 10px solid #0083ca;

border-radius: 50%;

}

#dell p {

font-family: Impact;

text-transform: uppercase;

display: inline-block;

font-size: 75px;

color: #0083ca;

margin-top: 46px;

-webkit-transform: scaleX(1.2) scaleY(0.8);

transform: scaleX(1.2) scaleY(0.8);

}

#dell p.e {

-webkit-transform: rotate(-45deg) scaleX(2) translateY(-5px);

transform: rotate(-45deg) scaleX(2) translateY(-5px);

font-size: 60px;

margin: 0 2px 0 8px;

}

#google p {

display: inline-block;

font-family: 'Product Sans', Arial, sans-serif;

font-size: 60px;

margin: 70px -2px;

}

#google p.g {

color: #4c90fb;

}

#google p.e {

color: #ef4c3b;

}

#google p.o {

color: #fec303;

}

#google p.l {

color: #3bb15d;

}

#dominos {

width: 180px;

height: 180px;

margin: 10px 0 0 10px;

-webkit-transform: rotate(-45deg) scale(0.8);

transform: rotate(-45deg) scale(0.8);

}

#dominos .d1,

#dominos .d2 {

display: inline-block;

width: 88px;

height: 88px;

background: #d42c2f;

border-radius: 7px;

}

#dominos .d1:before,

#dominos .d1:after,

#dominos .d2:after {

position: absolute;

content: '';

background: #fff;

display: block;

width: 30px;

height: 30px;

border-radius: 50%;

margin: 29px;

}

#dominos .d1:before {

margin: 16px;

}

#dominos .d1:after {

margin: 42px;

}

#dominos .blue {

width: 180px;

height: 88px;

background: #005480;

border-radius: 7px;

font-family: Nunito, sans-serif;

font-weight: 700;

font-size: 32px;

line-height: 35px;

color: #fff;

}

#dominos .blue p {

margin: 0;

text-align: left;

text-indent: 15px;

}

#dominos .blue p:first-of-type {

border-top: 7px solid transparent;

}

總結

以上是生活随笔為你收集整理的logo自动旋转 html,HTML/CSS3 Logo选择器的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。