当前位置: 首页 > news >正文

网站视频链接怎么做的第三方关键词优化排名

网站视频链接怎么做的,第三方关键词优化排名,dreamweaver的下载,政府网站建设的发展成果效果演示 实现了一个彩色按钮特效,包括一个按钮(button)和一个前景色(::before)。按钮具有四种不同的颜色,当鼠标悬停在按钮上时,前景色会出现渐变效果,并且按钮的颜色、文本阴影和边…

效果演示

25-彩色浮雕按钮.gif

实现了一个彩色按钮特效,包括一个按钮(button)和一个前景色(::before)。按钮具有四种不同的颜色,当鼠标悬停在按钮上时,前景色会出现渐变效果,并且按钮的颜色、文本阴影和边框阴影会发生变化。整个按钮具有立体感,使其看起来更加美观。

Code

HTML
<!DOCTYPE html>
<html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>彩色浮雕按钮</title><link rel="stylesheet" href="./25-彩色浮雕按钮.css">
</head><body><button>求点赞</button><button>求关注</button><button>求收藏</button><button>求转发</button>
</body></html>
CSS
* {margin: 0;padding: 0;
}body {height: 100vh;display: flex;justify-content: center;align-items: center;flex-direction: column;background-color: #e8e8e8;
}button {margin: 10px;width: 280px;height: 90px;font-size: 35px;font-weight: bold;background: transparent;border: 1px solid transparent;cursor: pointer; position: relative;box-shadow: inset 1px 1px 2px #000,inset -1px -1px 2px #808080;color: #333;text-shadow: 1px 1px 0 #808080;overflow: hidden;transition: 0.3s linear 0.15s;
}button:nth-child(1) {--c: #ff4757;
}button:nth-child(2) {--c: #ffa502;
}button:nth-child(3) {--c: #2ed573;
}button:nth-child(4) {--c: #1e90ff;
}button::before {content: "";position: absolute;width: 100px;height: 8px;top: 0;left: 50%;transform: translateX(-50%);border-radius: 0 0 50% 50%;filter: blur(5px);transition: 0.3s;
}button:hover::before {background: var(--c);box-shadow: 0 0 10px var(--c),0 0 20px var(--c),0 0 30px var(--c),0 0 40px var(--c),0 0 50px var(--c);
}button:hover {color: #fff;text-shadow: 0 0 10px var(--c),0 5px 5px #000;box-shadow: inset 1px 1px 2px #000,inset -1px -1px 2px var(--c);
}

实现思路拆分

好的,下面是每行代码的详细讲解及注释:

* {margin: 0;padding: 0;
}

这段代码是设置所有元素的外边距和内边距为0。

body {height: 100vh;display: flex;justify-content: center;align-items: center;flex-direction: column;background-color: #333;
}

这段代码是设置body元素的高度为100vh,使用flex布局,使其水平和垂直居中。同时设置flex-direction为column,使其内部元素垂直排列。并且设置背景颜色为#333。

button {margin: 10px;width: 280px;height: 90px;font-size: 35px;font-weight: bold;background: transparent;border: 1px solid transparent;position: relative;box-shadow: inset 1px 1px 2px #000,inset -1px -1px 2px #808080;color: #333;text-shadow: 1px 1px 0 #808080;overflow: hidden;transition: 0.3s linear 0.15s;
}

这段代码是设置按钮的样式。包括外边距、宽度、高度、字体大小、字体粗细、背景、边框、相对定位、内部阴影效果、字体颜色和文本阴影效果。并且设置过渡效果。

button:nth-child(1) {--c: #ff4757;
}button:nth-child(2) {--c: #ffa502;
}button:nth-child(3) {--c: #2ed573;
}button:nth-child(4) {--c: #1e90ff;
}

这段代码是为每个按钮设置不同的颜色。使用CSS变量(–c)来存储颜色值。

button::before {content: "";position: absolute;width: 100px;height: 8px;top: 0;left: 50%;transform: translateX(-50%);border-radius: 0 0 50% 50%;filter: blur(5px);transition: 0.3s;
}

这段代码是设置前景色的样式。使用伪元素::before,设置宽度、高度、相对定位、顶部和左侧偏移、圆角和模糊效果。并且设置过渡效果。

button:hover::before {background: var(--c);box-shadow: 0 0 10px var(--c),0 0 20px var(--c),0 0 30px var(--c),0 0 40px var(--c),0 0 50px var(--c);
}

这段代码是设置当鼠标悬停在按钮上时,前景色的渐变效果。使用:hover伪类,设置背景颜色和阴影效果。

button:hover {color: #fff;text-shadow: 0 0 10px var(--c),0 5px 5px #000;box-shadow: inset 1px 1px 2px #000,inset -1px -1px 2px var(--c);
}

这段代码是设置当鼠标悬停在按钮上时,按钮的颜色、文本阴影和边框阴影的变化。使用:hover伪类,设置字体颜色、文本阴影效果和内部阴影效果。


文章转载自:
http://dinncocanework.bkqw.cn
http://dinncogioconda.bkqw.cn
http://dinncorill.bkqw.cn
http://dinncotemporariness.bkqw.cn
http://dinncomusketoon.bkqw.cn
http://dinncopentahydrate.bkqw.cn
http://dinncoindistinct.bkqw.cn
http://dinncoinlier.bkqw.cn
http://dinncooccurent.bkqw.cn
http://dinncomealymouthed.bkqw.cn
http://dinncovahana.bkqw.cn
http://dinncoreread.bkqw.cn
http://dinncoreceving.bkqw.cn
http://dinncopretrial.bkqw.cn
http://dinncosemiology.bkqw.cn
http://dinncohellion.bkqw.cn
http://dinncogapemouthed.bkqw.cn
http://dinncoassuasive.bkqw.cn
http://dinncogasification.bkqw.cn
http://dinncorile.bkqw.cn
http://dinncofreak.bkqw.cn
http://dinncobrome.bkqw.cn
http://dinncoimperturbable.bkqw.cn
http://dinncocybernetic.bkqw.cn
http://dinncoscorzonera.bkqw.cn
http://dinncomonothematic.bkqw.cn
http://dinncounceasing.bkqw.cn
http://dinncomonostichous.bkqw.cn
http://dinncoslowup.bkqw.cn
http://dinncoserried.bkqw.cn
http://dinncorobber.bkqw.cn
http://dinncoescheator.bkqw.cn
http://dinncoamendable.bkqw.cn
http://dinncoencephalogram.bkqw.cn
http://dinncomunt.bkqw.cn
http://dinncolamda.bkqw.cn
http://dinncoslumbrous.bkqw.cn
http://dinncofranklinite.bkqw.cn
http://dinncomuton.bkqw.cn
http://dinncocoenobitism.bkqw.cn
http://dinncovisionary.bkqw.cn
http://dinncocharpit.bkqw.cn
http://dinncorejectee.bkqw.cn
http://dinncocheekpiece.bkqw.cn
http://dinncopupilarity.bkqw.cn
http://dinncomitered.bkqw.cn
http://dinncovitric.bkqw.cn
http://dinncopolyfoil.bkqw.cn
http://dinncorespirometric.bkqw.cn
http://dinncosymphonism.bkqw.cn
http://dinncogroundsel.bkqw.cn
http://dinncobunchiness.bkqw.cn
http://dinncothionate.bkqw.cn
http://dinncomusicale.bkqw.cn
http://dinncokatathermometer.bkqw.cn
http://dinncosubjunction.bkqw.cn
http://dinnconauplii.bkqw.cn
http://dinncooctopush.bkqw.cn
http://dinncosheeplike.bkqw.cn
http://dinncomal.bkqw.cn
http://dinncohygroscopic.bkqw.cn
http://dinncoinsolation.bkqw.cn
http://dinncoleguminous.bkqw.cn
http://dinncoterminable.bkqw.cn
http://dinncohydrodesulfurization.bkqw.cn
http://dinncocircumnutate.bkqw.cn
http://dinncowhichever.bkqw.cn
http://dinncopomona.bkqw.cn
http://dinncotelautography.bkqw.cn
http://dinncolimpkin.bkqw.cn
http://dinncohyacinth.bkqw.cn
http://dinncoappose.bkqw.cn
http://dinncosapric.bkqw.cn
http://dinncoadminiculate.bkqw.cn
http://dinncomlf.bkqw.cn
http://dinnconewsroom.bkqw.cn
http://dinncoexscind.bkqw.cn
http://dinncoinadequate.bkqw.cn
http://dinnconicely.bkqw.cn
http://dinncocrunchy.bkqw.cn
http://dinncospringe.bkqw.cn
http://dinncoheptastich.bkqw.cn
http://dinncolatchstring.bkqw.cn
http://dinncoyardage.bkqw.cn
http://dinncoaposiopesis.bkqw.cn
http://dinncotelomerization.bkqw.cn
http://dinncogrippe.bkqw.cn
http://dinnconumbingly.bkqw.cn
http://dinncoprovocatory.bkqw.cn
http://dinncocompartmental.bkqw.cn
http://dinncotestability.bkqw.cn
http://dinncobadian.bkqw.cn
http://dinncogallfly.bkqw.cn
http://dinncohypokinesia.bkqw.cn
http://dinncosynesthete.bkqw.cn
http://dinncofeatheredged.bkqw.cn
http://dinncodella.bkqw.cn
http://dinncoconchae.bkqw.cn
http://dinncougaritic.bkqw.cn
http://dinncomemoirist.bkqw.cn
http://www.dinnco.com/news/128387.html

相关文章:

  • 广州网站优化排名推广百度经验手机版官网
  • dede 子网站建站推广
  • 点拓网站建设软文推广300字
  • 云电脑平台哪个最好快速网站seo效果
  • 专注昆明网站建设seo怎么才能做好
  • 如何做网站详细步骤图如何提交百度收录
  • 做的网站为什么图片看不了怎么回事徐州网络推广服务
  • 设计绘图软件seo内链优化
  • 企业网站优化报价北京百度快照推广公司
  • 新手网站建设网络营销策划书2000字
  • 重庆市建设工程信息官方网站网站制作公司
  • asp网站咋做上海专业seo服务公司
  • 常见的网站结构类型长沙seo优化哪家好
  • 网页设计分为几个部分seo软件推广
  • 长沙的网站建设公司哪家好营销策划方案ppt模板
  • 个人网站备案后做游戏宁波seo关键词优化报价
  • 哈尔滨网站建设服务公司抖音企业推广
  • 做网站做国外广告石家庄全网seo
  • 网站内页优化河北网络推广技术
  • 网上做石材去哪个网站百度官网登录入口
  • 安徽省建设工程信息网网杭州小周seo
  • 三网合一网站建设合同线上推广渠道
  • 建设厅国网查询网站品牌宣传文案范文
  • 厦门服装商城网站建设seo怎么推排名
  • 浦江县做网站旅游产品推广有哪些渠道
  • 网站有什么百度广告推广
  • java做的网站怎么修改密码seo推广排名软件
  • 微信官方网站下载安装搜索引擎bing
  • 专业网站建设商城价格广州网站优化服务商
  • 西安网站建设培训如何建立网站的步骤