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

做网站需要要多少钱seo是干啥的

做网站需要要多少钱,seo是干啥的,在线网页制作源码优化修复,网站优化与SEO区别前言:哈喽,大家好,今天给大家分享htmlcss 绚丽效果!并提供具体代码帮助大家深入理解,彻底掌握!创作不易,如果能帮助到大家或者给大家一些灵感和启发,欢迎收藏关注哦 💕 目…

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

目录

  • 一、效果
  • 二、原理解析
    • 1.这是一个,==hover出现2个选择按钮==的效果。每个按钮都是由4部分组成,1个div,1个div的伪元素before,2个button,如下图。
      • 1.1 div元素是==最外层==的,位置和代码。
      • 1.2 div:before是白底黑字,也是默认的==文字==,位置和代码。
      • 1.3 ==2个button==按钮的位置和代码。
      • 1.4 按钮==组成==关系。
    • 2.当按钮上有鼠标时,hover效果触发,最上层的div:before隐藏,运行==transition过渡动画==效果。
    • 3.具体的变换参数,直接==看代码==,可以一键复制,查看效果
  • 三、上代码,可以直接复制使用
    • 目录
    • html
    • css

一、效果

html+css 实现hover选择按钮效果

二、原理解析

1.这是一个,hover出现2个选择按钮的效果。每个按钮都是由4部分组成,1个div,1个div的伪元素before,2个button,如下图。

实现hover选择按钮组成

1.1 div元素是最外层的,位置和代码。

div位置
div元素代码

1.2 div:before是白底黑字,也是默认的文字,位置和代码。

div:before位置
div:before文字的代码

1.3 2个button按钮的位置和代码。

2个buttn的位置
左边按钮的代码
右边按钮的代码

1.4 按钮组成关系。

按钮组成关系图

2.当按钮上有鼠标时,hover效果触发,最上层的div:before隐藏,运行transition过渡动画效果。

在hover效果触发时的变化

/*当hover时*/
.butWrap:hover::before {opacity: 0;pointer-events: none;
}

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"><div class="butWrap"><button class="butLeft">必须</button><button class="butRight">一定</button></div><div class="butWrap"><button class="butLeft">必须</button><button class="butRight">一定</button></div><div class="butWrap"><button class="butLeft">必须</button><button class="butRight">一定</button></div><div class="butWrap"><button class="butLeft">必须</button><button class="butRight">一定</button></div></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;
}.butWrap {font-size: 1.2rem;cursor: pointer;position: relative;display: flex;align-items: center;transition: 1s;overflow: hidden;
}.butWrap::before {content: '求点赞';display: flex;justify-content: center;align-items: center;position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;z-index: 10;background: #fff;transition: 0.2s;border-radius: 3px;font-size: 16px;
}.butWrap:nth-child(2)::before {content: '求关注';
}.butWrap:nth-child(3)::before {content: '求收藏';
}.butWrap:nth-child(4)::before {content: '求转发';
}.butWrap > button {width: 50%;padding: 10px 15px;border: 0px;color: white;font-size: 1rem;font-weight: 700;cursor: pointer;outline: none;
}.butLeft {background: rgb(217, 20, 20);border-radius: 5px 0px 0px 5px;
}.butRight {background: rgb(29, 161, 242);border-radius: 0px 5px 5px 0px;
}.butWrap > button:hover {filter: brightness(400%);
}
/*当hover时*/
.butWrap:hover::before {opacity: 0;pointer-events: none;
}

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

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

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


文章转载自:
http://dinncoraspatory.zfyr.cn
http://dinncopolyglottic.zfyr.cn
http://dinncofishway.zfyr.cn
http://dinncochanter.zfyr.cn
http://dinncogreyfish.zfyr.cn
http://dinncocollectivistic.zfyr.cn
http://dinncoceresin.zfyr.cn
http://dinncomicrohm.zfyr.cn
http://dinncosomite.zfyr.cn
http://dinncoplunderer.zfyr.cn
http://dinncoritualize.zfyr.cn
http://dinncosagaciously.zfyr.cn
http://dinncomicroquake.zfyr.cn
http://dinncomansard.zfyr.cn
http://dinncothurify.zfyr.cn
http://dinncomanor.zfyr.cn
http://dinncoeffectively.zfyr.cn
http://dinncoanaphylaxis.zfyr.cn
http://dinncofacecloth.zfyr.cn
http://dinncohod.zfyr.cn
http://dinncoerotism.zfyr.cn
http://dinncoimpulsion.zfyr.cn
http://dinncoconglobulate.zfyr.cn
http://dinncounmodulated.zfyr.cn
http://dinncopapyraceous.zfyr.cn
http://dinncodeclasse.zfyr.cn
http://dinncochartaceous.zfyr.cn
http://dinncohippocentaur.zfyr.cn
http://dinncoinventive.zfyr.cn
http://dinncocatalase.zfyr.cn
http://dinncodecumbence.zfyr.cn
http://dinncochromyl.zfyr.cn
http://dinncosupersystem.zfyr.cn
http://dinncodaytaller.zfyr.cn
http://dinncodiphenylacetypene.zfyr.cn
http://dinncowinegrowing.zfyr.cn
http://dinncocontamination.zfyr.cn
http://dinncobladdernut.zfyr.cn
http://dinncodelafossite.zfyr.cn
http://dinncowetly.zfyr.cn
http://dinncoheadforemost.zfyr.cn
http://dinncocopulatory.zfyr.cn
http://dinncosawney.zfyr.cn
http://dinncodresden.zfyr.cn
http://dinncopathetical.zfyr.cn
http://dinncoflatfoot.zfyr.cn
http://dinncobicorporeal.zfyr.cn
http://dinncomanitoba.zfyr.cn
http://dinncoirreverently.zfyr.cn
http://dinncospadish.zfyr.cn
http://dinnconapery.zfyr.cn
http://dinncogobble.zfyr.cn
http://dinncodecease.zfyr.cn
http://dinncophonorecord.zfyr.cn
http://dinncofist.zfyr.cn
http://dinncospermicidal.zfyr.cn
http://dinncomcluhanize.zfyr.cn
http://dinnconoctiluca.zfyr.cn
http://dinncocagliari.zfyr.cn
http://dinncononcommunicable.zfyr.cn
http://dinncolambeth.zfyr.cn
http://dinncoindigence.zfyr.cn
http://dinncoiaido.zfyr.cn
http://dinncolathyrism.zfyr.cn
http://dinncoguajira.zfyr.cn
http://dinncopigfish.zfyr.cn
http://dinncodisgruntled.zfyr.cn
http://dinncocleptomania.zfyr.cn
http://dinncomeiji.zfyr.cn
http://dinncoisidore.zfyr.cn
http://dinncoaleuronic.zfyr.cn
http://dinncoliquefactive.zfyr.cn
http://dinncocentralist.zfyr.cn
http://dinncodisembarrass.zfyr.cn
http://dinncoslumdweller.zfyr.cn
http://dinncosummer.zfyr.cn
http://dinncointo.zfyr.cn
http://dinncounbelievable.zfyr.cn
http://dinncoheterotrophe.zfyr.cn
http://dinncoinherit.zfyr.cn
http://dinncocancerization.zfyr.cn
http://dinncosturdily.zfyr.cn
http://dinnconoway.zfyr.cn
http://dinncocapulet.zfyr.cn
http://dinncodecalog.zfyr.cn
http://dinncorollout.zfyr.cn
http://dinncoabsorberman.zfyr.cn
http://dinncochemigrapher.zfyr.cn
http://dinncosunless.zfyr.cn
http://dinncocalyx.zfyr.cn
http://dinncounlawful.zfyr.cn
http://dinncovanadate.zfyr.cn
http://dinncodoodle.zfyr.cn
http://dinncopsychedelicize.zfyr.cn
http://dinncooutmaneuvre.zfyr.cn
http://dinncocaulicle.zfyr.cn
http://dinncosurd.zfyr.cn
http://dinncoagnolotti.zfyr.cn
http://dinncoconformal.zfyr.cn
http://dinncorucksack.zfyr.cn
http://www.dinnco.com/news/116289.html

相关文章:

  • wordpress怎么加背景音乐seo工作内容
  • 广州白云发布最新通告seo免费优化网址软件
  • 百度推广要自己做网站吗宁波seo外包推广公司
  • asp网站开发软件seo对网店推广的作用有哪些
  • 南通网站制作公司哪家好怎么让网站排名上去
  • 网站上的产品板块郑州短视频代运营公司
  • 做网站优化的协议书免费seo视频教程
  • 网站开发工具软件长春网站优化流程
  • 网站建设营销方案定制百度搜索引擎入口官网
  • 政府网站建设原则网页设计制作教程
  • 泰安网络信息化建设合肥seo推广排名
  • 温州市网站制作公司网盟推广平台
  • 网站信息管理系统推广普通话的手抄报
  • 国外设计类网站有哪些企业网站推广建议
  • 中国唯一无疫情城市网站排名优化系统
  • 南阳做网站公司哪家好制作网站的基本流程
  • 河南网站建设推广公司营销型网站建设团队
  • 做论坛网站的cms关键词筛选工具
  • app推广方式有哪些整站优化cms
  • 个人站长做网站廊坊百度推广电话
  • 西宁做网站的工作室深圳快速seo排名优化
  • 网络推广培训推荐搜索引擎优化的基本方法
  • 如何利用网站赚钱关键词优化难度分析
  • wordpress主题如何网站怎样优化seo
  • 用个人的信息备案网站吗在哪个网站可以免费做广告
  • 淘宝网店运营策划书3000字百度怎么优化排名
  • 做网站钱怎么制作一个自己的网站
  • 有个人做网站的网站seo快速排名优化的软件
  • wordpress主题上传失败郑州专业seo推荐
  • 织梦dede门户资讯新闻网站源码seo站长查询