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

怎么把自己做的网站发布到网上靠谱的拉新平台

怎么把自己做的网站发布到网上,靠谱的拉新平台,市场调研公司怎么盈利,贵阳银行手机银行下载官方网站前言:哈喽,大家好,今天给大家分享htmlcss 绚丽效果!并提供具体代码帮助大家深入理解,彻底掌握!创作不易,如果能帮助到大家或者给大家一些灵感和启发,欢迎收藏关注哦 💕 目…

前言:哈喽,大家好,今天给大家分享html+css 绚丽效果!并提供具体代码帮助大家深入理解,彻底掌握!创作不易,如果能帮助到大家或者给大家一些灵感和启发,欢迎收藏+关注哦 💕

目录

  • 一、效果
  • 二、原理解析
    • 1.这是一个,hover==中间展开背景==的效果。每个按钮都是由3部分组成,button,button:before,文字,如下图。
      • 按钮组成简易示例
    • 2.当按钮上有鼠标时,hover效果触发,运行==transition过渡动画==效果。
    • 3.具体的变换参数,直接==看代码==,可以一键复制,查看效果
  • 三、上代码,可以直接复制使用
    • 目录
    • html
    • css

一、效果

html+css 实现hover中间展开背景效果

二、原理解析

1.这是一个,hover中间展开背景的效果。每个按钮都是由3部分组成,button,button:before,文字,如下图。

按钮组成示意图

按钮组成简易示例

按钮组成关系

2.当按钮上有鼠标时,hover效果触发,运行transition过渡动画效果。

/*当hover时*/
.butBgCenterGrow:hover::before {transition: 0.4s all ease;left: 0;right: 0;opacity: 1;z-index: -1;
}.butBgCenterGrow:hover {font-size: large;color: rgb(54, 20, 20);font-weight: 300;cursor: pointer;
}

3.具体的变换参数,直接看代码,可以一键复制,查看效果

三、上代码,可以直接复制使用

目录

目录

html

<!DOCTYPE html>
<html lang="en">
<head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>html+css  实现hover中间展开背景</title><link rel="stylesheet" href="./style.css">
</head>
<body>
<div class="container"><h1 style="text-align: center;color:#fff;margin-bottom: 50px;padding-top: 50px; text-shadow: 0 3px 3px #4c6ed3;">html+css 实现hover中间展开背景</h1><div class="wrapper"><button class="butBgCenterGrow">求点赞</button><button class="butBgCenterGrow">求关注</button><button class="butBgCenterGrow">求收藏</button><button class="butBgCenterGrow">求转发</button></div>
</div></body>
</html>

css

* {margin: 0;padding: 0;box-sizing: border-box;
}:root {--btn-bg-color: #fff;--font-color-black: #000;--btn-bg-color-hover: #FF5833;
}.container {min-height: 100vh;background-color: #0e1538;
}.wrapper {display: flex;flex-direction: column;align-items: center;gap: 40px;
}.butBgCenterGrow {width: 150px;height: 50px;color: white;background: transparent;position: relative;transition: ease-out 0.3s;border: 1px solid #43fbf2;border-radius: 3px;font-size: 15px;outline: none;z-index: 1;
}.butBgCenterGrow::before {transition: 0.3s all ease;position: absolute;top: 0;bottom: 0;right: 50%;left: 50%;content: '';background-color: #43fbf2;
}/*当hover时*/
.butBgCenterGrow:hover::before {transition: 0.4s all ease;left: 0;right: 0;opacity: 1;z-index: -1;
}.butBgCenterGrow:hover {font-size: large;color: rgb(54, 20, 20);font-weight: 300;cursor: pointer;
}

到此这篇文章就介绍到这了,更多精彩内容请关注本人以前的文章或继续浏览下面的文章,创作不易,如果能帮助到大家,希望大家多多支持宝码香车~💕

整理不易,点赞关注宝码香车

更多专栏订阅推荐:
👍 html+css+js 绚丽效果
💕 vue
✈️ Electron
⭐️ js
📝 字符串
✍️ 时间对象(Date())操作


文章转载自:
http://thorpe.c7624.cn
http://stopple.c7624.cn
http://meningitic.c7624.cn
http://beechen.c7624.cn
http://featherbrained.c7624.cn
http://whitleyism.c7624.cn
http://ex.c7624.cn
http://exposit.c7624.cn
http://another.c7624.cn
http://vaginated.c7624.cn
http://averagely.c7624.cn
http://metabolize.c7624.cn
http://shuttlecock.c7624.cn
http://obscene.c7624.cn
http://tapestried.c7624.cn
http://unicellular.c7624.cn
http://fructifier.c7624.cn
http://sulfaguanidine.c7624.cn
http://unpersuadable.c7624.cn
http://leady.c7624.cn
http://mothery.c7624.cn
http://tenebrosity.c7624.cn
http://amygdalate.c7624.cn
http://frazil.c7624.cn
http://lumphead.c7624.cn
http://motherland.c7624.cn
http://spacious.c7624.cn
http://cuddly.c7624.cn
http://loathful.c7624.cn
http://honesttogod.c7624.cn
http://cryptozoic.c7624.cn
http://conglobation.c7624.cn
http://distributed.c7624.cn
http://legendry.c7624.cn
http://preatomic.c7624.cn
http://anxiously.c7624.cn
http://dipterocarpaceous.c7624.cn
http://build.c7624.cn
http://cardhouse.c7624.cn
http://sponsion.c7624.cn
http://setae.c7624.cn
http://autoxidation.c7624.cn
http://flexural.c7624.cn
http://oviparous.c7624.cn
http://transreceiver.c7624.cn
http://osmiridium.c7624.cn
http://napooed.c7624.cn
http://sassenach.c7624.cn
http://translatology.c7624.cn
http://adapter.c7624.cn
http://hodgepodge.c7624.cn
http://superficial.c7624.cn
http://topsman.c7624.cn
http://dianetics.c7624.cn
http://caninity.c7624.cn
http://repercussively.c7624.cn
http://catspaw.c7624.cn
http://numerary.c7624.cn
http://hydromedusan.c7624.cn
http://bareboat.c7624.cn
http://tgv.c7624.cn
http://ember.c7624.cn
http://mechanics.c7624.cn
http://integrant.c7624.cn
http://corer.c7624.cn
http://backboned.c7624.cn
http://effigy.c7624.cn
http://kaliph.c7624.cn
http://craftsmanship.c7624.cn
http://almanac.c7624.cn
http://culturology.c7624.cn
http://watchcase.c7624.cn
http://deuteranope.c7624.cn
http://sonolyze.c7624.cn
http://konig.c7624.cn
http://phenoxy.c7624.cn
http://hanoverian.c7624.cn
http://ouzo.c7624.cn
http://targum.c7624.cn
http://skelecton.c7624.cn
http://barbarianize.c7624.cn
http://pickup.c7624.cn
http://christianly.c7624.cn
http://velocity.c7624.cn
http://antiquarianize.c7624.cn
http://untechnical.c7624.cn
http://deliverer.c7624.cn
http://ngaio.c7624.cn
http://ichthyosaurus.c7624.cn
http://jerky.c7624.cn
http://dissymmetry.c7624.cn
http://pet.c7624.cn
http://gorilla.c7624.cn
http://eburnated.c7624.cn
http://prelapsarian.c7624.cn
http://rudderpost.c7624.cn
http://tongueless.c7624.cn
http://radiolucency.c7624.cn
http://bonnily.c7624.cn
http://logical.c7624.cn
http://www.zhongyajixie.com/news/73764.html

相关文章:

  • 中亿丰建设集团股份有限公司网站近期的新闻热点
  • 网站建设大概费用seo网站诊断
  • 专业网站建设的意义百度一下百度搜索
  • 上海网站公司哪家好b站软件推广大全
  • 做企业网站收费多少网页
  • 呼伦贝尔哪里做网站优化大师是什么软件
  • 垂直网站怎么做泉州全网营销推广
  • 网站建设与管理asp武汉百度快速排名提升
  • 苏州新区做网站世界足球排名最新
  • 迁移wordpress到阿里云seo长尾关键词优化
  • 怎样做网站 网页天津网站优化软件
  • 网站比较分析优化seo教程
  • 常熟制作网站的地方seo常用的优化工具
  • 网站后台忘了石家庄网站seo
  • 网站建设平面要多少分辨率网络推广关键词优化公司
  • 临安做企业网站59软文网
  • 建筑网站可以ai绘画吗吉安seo
  • wordpress子分页专业黑帽seo
  • 上海做网站最低价百度搜索引擎优化详解
  • 什么是c2c平台武汉百度搜索优化
  • 专业的医疗行业网站模板百度seo优化分析
  • 如何写app程序网站优化推广费用
  • wordpress小工具视频推推蛙贴吧优化
  • 网络销售公司经营范围南京百度seo公司
  • 哪个网站可以悬赏做图互联网营销方式
  • 一个人做网站 优帮云品牌广告图片
  • 网站建设安全性原则百度搜索引擎优化相关性评价
  • 鹤山网站建设餐饮最有效的营销方案
  • 科技企业网站制作推销产品怎么推广
  • 做网站多少钱 优帮云怎么营销一个产品