html5 异形按钮,css3打造一款漂亮的卡哇伊按钮

2023-11-06 19:20

本文主要是介绍html5 异形按钮,css3打造一款漂亮的卡哇伊按钮,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

效果图如下:

01777ae85924332b05f5a04559154ce9.png

源码如下:

复制代码代码如下:

BonBon Buttons - Sweet CSS3 buttons

html {

background-color: #ddd;

font: 62.5%/1 "Lucida Sans Unicode","Lucida Grande",Verdana,Arial,Helvetica,sans-serif;

}

body { padding: 100px; }

#wrapper { text-align: center; }

/*It appears that the Pictos Font resets the line-height of the icon.. so if you are using them, delete the line below. */

.icon:before { line-height: .7em; }

Button

测试

测试

测试

测试

测试

测试

测试

buttons.css:

复制代码代码如下:

/* -------------- THE button -------------- */

.button {

/* text */

text-decoration: none;

font: 24px/1em 'Droid Sans', sans-serif;

font-weight: bold;

text-shadow: rgba(255,255,255,.5) 0 1px 0;

-webkit-user-select: none;

-moz-user-select: none;

user-select: none;

/* layout */

padding: .5em .6em .4em .6em;

margin: .5em;

display: inline-block;

position: relative;

-webkit-border-radius: 8px;

-moz-border-radius: 8px;

border-radius: 8px;

/* effects */

border-top: 1px solid rgba(255,255,255,0.8);

border-bottom: 1px solid rgba(0,0,0,0.1);

background-image: -webkit-gradient(radial, 50% 0, 100, 50% 0, 0, from( rgba(255,255,255,0) ), to( rgba(255,255,255,0.7) )), url(noise.png);

background-image: -moz-radial-gradient(top, ellipse cover, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 100%), url(noise.png);

background-image: gradient(radial, 50% 0, 100, 50% 0, 0, from( rgba(255,255,255,0) ), to( rgba(255,255,255,0.7) )), url(noise.png);

-webkit-transition: background .2s ease-in-out;

-moz-transition: background .2s ease-in-out;

transition: background .2s ease-in-out;

/* color */

color: hsl(0, 0%, 40%) !important;

background-color: hsl(0, 0%, 75%);

-webkit-box-shadow: inset rgba(255,254,255,0.6) 0 0.3em .3em, inset rgba(0,0,0,0.15) 0 -0.1em .3em, /* inner shadow */

hsl(0, 0%, 60%) 0 .1em 3px, hsl(0, 0%, 45%) 0 .3em 1px, /* color border */

rgba(0,0,0,0.2) 0 .5em 5px; /* drop shadow */

-moz-box-shadow: inset rgba(255,254,255,0.6) 0 0.3em .3em, inset rgba(0,0,0,0.15) 0 -0.1em .3em, /* inner shadow */

hsl(0, 0%, 60%) 0 .1em 3px, hsl(0, 0%, 45%) 0 .3em 1px, /* color border */

rgba(0,0,0,0.2) 0 .5em 5px; /* drop shadow */

box-shadow: inset rgba(255,254,255,0.6) 0 0.3em .3em, inset rgba(0,0,0,0.15) 0 -0.1em .3em, /* inner shadow */

hsl(0, 0%, 60%) 0 .1em 3px, hsl(0, 0%, 45%) 0 .3em 1px, /* color border */

rgba(0,0,0,0.2) 0 .5em 5px; /* drop shadow */

}

/* -------------- button (tag) -------------- */

button.button {

border-left: none;

border-right: none;

}

button.button:hover {

cursor: pointer;

}

/* -------------- icon -------------- */

.button:before {

font: 1.2em/0 'Pictos', sans-serif;

content: attr(data-icon); /* gets the icon value from the custom data attribute and puts it infront of the button label */

margin-right: 0.4em;

}

/* icon only */

.icon {

font-weight: normal;

font-style: normal;

text-indent: -999em;

}

.icon:before {

margin-right: 0;

display: block;

height: 0;

text-indent: 0px;

}

/* -------------- colours -------------- */

.button.orange {

color: hsl(39, 100%, 30%) !important;

background-color: hsl(39, 100%, 50%);

-webkit-box-shadow: inset rgba(255,254,255,0.6) 0 0.3em .3em, inset rgba(0,0,0,0.15) 0 -0.1em .3em, /* inner shadow */

hsl(39, 100%, 40%) 0 .1em 3px, hsl(39, 100%, 30%) 0 .3em 1px, /* color border */

rgba(0,0,0,0.2) 0 .5em 5px; /* drop shadow */

-moz-box-shadow: inset rgba(255,254,255,0.6) 0 0.3em .3em, inset rgba(0,0,0,0.15) 0 -0.1em .3em, /* inner shadow */

hsl(39, 100%, 40%) 0 .1em 3px, hsl(39, 100%, 30%) 0 .3em 1px, /* color border */

rgba(0,0,0,0.2) 0 .5em 5px; /* drop shadow */

box-shadow: inset rgba(255,254,255,0.6) 0 0.3em .3em, inset rgba(0,0,0,0.15) 0 -0.1em .3em, /* inner shadow */

hsl(39, 100%, 40%) 0 .1em 3px, hsl(39, 100%, 30%) 0 .3em 1px, /* color border */

rgba(0,0,0,0.2) 0 .5em 5px; /* drop shadow */

}

.button.orange:hover { background-color: hsl(39, 100%, 65%); }

.button.blue {

color: hsl(208, 50%, 40%) !important;

background-color: hsl(208, 100%, 75%);

-webkit-box-shadow: inset rgba(255,254,255,0.6) 0 0.3em .3em, inset rgba(0,0,0,0.15) 0 -0.1em .3em, /* inner shadow */

hsl(208, 50%, 55%) 0 .1em 3px, hsl(208, 50%, 40%) 0 .3em 1px, /* color border */

rgba(0,0,0,0.2) 0 .5em 5px; /* drop shadow */

-moz-box-shadow: inset rgba(255,254,255,0.6) 0 0.3em .3em, inset rgba(0,0,0,0.15) 0 -0.1em .3em, /* inner shadow */

hsl(208, 50%, 55%) 0 .1em 3px, hsl(208, 50%, 40%) 0 .3em 1px, /* color border */

rgba(0,0,0,0.2) 0 .5em 5px; /* drop shadow */

box-shadow: inset rgba(255,254,255,0.6) 0 0.3em .3em, inset rgba(0,0,0,0.15) 0 -0.1em .3em, /* inner shadow */

hsl(208, 50%, 55%) 0 .1em 3px, hsl(208, 50%, 40%) 0 .3em 1px, /* color border */

rgba(0,0,0,0.2) 0 .5em 5px; /* drop shadow */

}

.button.blue:hover { background-color: hsl(208, 100%, 83%); }

.button.green {

color: hsl(88, 70%, 30%) !important;

background-color: hsl(88, 70%, 60%);

-webkit-box-shadow: inset rgba(255,254,255,0.6) 0 0.3em .3em, inset rgba(0,0,0,0.15) 0 -0.1em .3em, /* inner shadow */

hsl(88, 70%, 40%) 0 .1em 3px, hsl(88, 70%, 30%) 0 .3em 1px, /* color border */

rgba(0,0,0,0.2) 0 .5em 5px; /* drop shadow */

-moz-box-shadow: inset rgba(255,254,255,0.6) 0 0.3em .3em, inset rgba(0,0,0,0.15) 0 -0.1em .3em, /* inner shadow */

hsl(88, 70%, 40%) 0 .1em 3px, hsl(88, 70%, 30%) 0 .3em 1px, /* color border */

rgba(0,0,0,0.2) 0 .5em 5px; /* drop shadow */

box-shadow: inset rgba(255,254,255,0.6) 0 0.3em .3em, inset rgba(0,0,0,0.15) 0 -0.1em .3em, /* inner shadow */

hsl(88, 70%, 40%) 0 .1em 3px, hsl(88, 70%, 30%) 0 .3em 1px, /* color border */

rgba(0,0,0,0.2) 0 .5em 5px; /* drop shadow */

}

.button.green:hover { background-color: hsl(88, 70%, 75%); }

.button.pink {

color: hsl(340, 100%, 30%) !important;

background-color: hsl(340, 100%, 75%);

-webkit-box-shadow: inset rgba(255,254,255,0.6) 0 0.3em .3em, inset rgba(0,0,0,0.15) 0 -0.1em .3em, /* inner shadow */

hsl(340, 70%, 50%) 0 .1em 3px, hsl(340, 80%, 40%) 0 .3em 1px, /* color border */

rgba(0,0,0,0.2) 0 .5em 5px; /* drop shadow */

-moz-box-shadow: inset rgba(255,254,255,0.6) 0 0.3em .3em, inset rgba(0,0,0,0.15) 0 -0.1em .3em, /* inner shadow */

hsl(340, 70%, 50%) 0 .1em 3px, hsl(340, 80%, 40%) 0 .3em 1px, /* color border */

rgba(0,0,0,0.2) 0 .5em 5px; /* drop shadow */

box-shadow: inset rgba(255,254,255,0.6) 0 0.3em .3em, inset rgba(0,0,0,0.15) 0 -0.1em .3em, /* inner shadow */

hsl(340, 70%, 50%) 0 .1em 3px, hsl(340, 80%, 40%) 0 .3em 1px, /* color border */

rgba(0,0,0,0.2) 0 .5em 5px; /* drop shadow */

}

.button.pink:hover { background-color: hsl(340, 100%, 83%); }

.button.transparent {

color: rgba(0,0,0,0.5) !important;

}

.button.transparent, .button.transparent:hover, .button.transparent:active {

background-color: transparent;

background-image: none;

}

.button.transparent:hover {

opacity: .9;

}

/* -------------- States -------------- */

.button:hover {

background-color: hsl(0, 0%, 83%);

}

.button:active {

background-image: -webkit-gradient(radial, 50% 0, 100, 50% 0, 0, from( rgba(255,255,255,0) ), to( rgba(255,255,255,0) )), url(noise.png);

background-image: -moz-gradient(radial, 50% 0, 100, 50% 0, 0, from( rgba(255,255,255,0) ), to( rgba(255,255,255,0) )), url(noise.png);

background-image: gradient(radial, 50% 0, 100, 50% 0, 0, from( rgba(255,255,255,0) ), to( rgba(255,255,255,0) )), url(noise.png);

-webkit-box-shadow: inset rgba(255,255,255,0.6) 0 0.3em .3em, inset rgba(0,0,0,0.2) 0 -0.1em .3em, /* inner shadow */

rgba(0,0,0,0.4) 0 .1em 1px, /* border */

rgba(0,0,0,0.2) 0 .2em 6px; /* drop shadow */

-moz-box-shadow: inset rgba(255,255,255,0.6) 0 0.3em .3em, inset rgba(0,0,0,0.2) 0 -0.1em .3em, /* inner shadow */

rgba(0,0,0,0.4) 0 .1em 1px, /* border */

rgba(0,0,0,0.2) 0 .2em 6px; /* drop shadow */

box-shadow: inset rgba(255,255,255,0.6) 0 0.3em .3em, inset rgba(0,0,0,0.2) 0 -0.1em .3em, /* inner shadow */

rgba(0,0,0,0.4) 0 .1em 1px, /* border */

rgba(0,0,0,0.2) 0 .2em 6px; /* drop shadow */

-webkit-transform: translateY(.2em);

-moz-transform: translateY(.2em);

transform: translateY(.2em);

}

.button:focus {

outline: none;

color: rgba(254,255,255,0.9) !important;

text-shadow: rgba(0,0,0,0.2) 0 1px 2px;

}

.button[disabled], .button[disabled]:hover, .button.disabled, .button.disabled:hover {

opacity: .5;

cursor: default;

color: rgba(0,0,0,0.2) !important;

text-shadow: none !important;

background-color: rgba(0,0,0,0.05);

background-image: none;

border-top: none;

-webkit-box-shadow: inset rgba(255,254,255,0.4) 0 0.3em .3em, inset rgba(0,0,0,0.1) 0 -0.1em .3em, /* inner shadow */

rgba(0,0,0,0.3) 0 .1em 1px, /* border */

rgba(0,0,0,0.2) 0 .2em 6px; /* drop shadow */

-moz-box-shadow: inset rgba(255,254,255,0.4) 0 0.3em .3em, inset rgba(0,0,0,0.1) 0 -0.1em .3em, /* inner shadow */

rgba(0,0,0,0.3) 0 .1em 1px, /* border */

rgba(0,0,0,0.2) 0 .2em 6px; /* drop shadow */

box-shadow: inset rgba(255,254,255,0.4) 0 0.3em .3em, inset rgba(0,0,0,0.1) 0 -0.1em .3em, /* inner shadow */

rgba(0,0,0,0.3) 0 .1em 1px, /* border */

rgba(0,0,0,0.2) 0 .2em 6px; /* drop shadow */

-webkit-transform: translateY(5px);

-moz-transform: translateY(5px);

transform: translateY(5px);

}

/* -------------- Fonts -------------- */

.serif {

font-family: 'Lobster', serif;

font-weight: normal;

}

/* -------------- Sizes -------------- */

.xs { font-size: 16px; }

.xl { font-size: 32px; }

/* -------------- Materials -------------- */

.button.glossy:after, .button.glass:after {

content: "";

position: absolute;

width: 90%;

height: 60%;

top: 0;

left: 5%;

-webkit-border-radius: .5em .5em 1em 1em / .5em .5em 2em 2em;

-moz-border-radius: .5em .5em 1em 1em / .5em .5em 2em 2em;

border-radius: .5em .5em 1em 1em / .5em .5em 2em 2em;

background-image: -webkit-gradient(linear, 0% 0, 100% 0, from( rgba(255,255,255,.55) ), to( rgba(255,255,255,.5) ),

color-stop(.5, rgba(255,255,255,0)), color-stop(.8, rgba(255,255,255,0)) );

background-image: -moz-linear-gradient(left, rgba(255,255,255,.55), rgba(255,255,255,0) 50%, rgba(255,255,255,0) 80%, rgba(255,255,255,.5) );

background-image: gradient(linear, 0% 0, 100% 0, from( rgba(255,255,255,.55) ), to( rgba(255,255,255,.5) ),

color-stop(.5, rgba(255,255,255,0)), color-stop(.8, rgba(255,255,255,0)) );

}

.button.glossy:active:after,

.button.glass:active:after,

.button.disabled:after,

.button[disabled]:after

{ opacity: .6; }

.button.icon.glossy:after,

.button.icon.glass:after { height: 75% ; }

/* -------------- Glass + Transparent -------------- */

.button.glass {

text-shadow: rgba(255,255,255,.5) 0 -1px 0, rgba(0,0,0,0.18) 0 .18em .15em;

}

.button.glass:active {

text-shadow: rgba(255,255,255,.3) 0 1px 0, rgba(0,0,0,0.15) 0 .18em .15em;

}

/* -------------- Shapes -------------- */

/* round */

.round, .round.glossy:after, .round.glass:after {

border-top: none;

-webkit-border-radius: 1em;

-moz-border-radius: 1em;

border-radius: 1em;

}

/* oval */

.oval {

border-top: none;

padding-left: .8em;

padding-right: .8em;

-webkit-border-radius: 5em / 2em;

-moz-border-radius: 5em / 2em;

border-radius: 5em / 2em;

}

.oval.glossy:after, .oval.glass:after {

top: 5%;

-webkit-border-radius: 5em / 2em 2em 1em 1em;

-moz-border-radius: 5em / 2em 2em 1em 1em;

border-radius: 5em / 2em 2em 1em 1em;

}

.oval.icon {

padding-left: .8em;

padding-right: .8em;

-webkit-border-radius: 1.5em / 1em;

-moz-border-radius: 1.5em / 1em;

border-radius: 1.5em / 1em;

}

.oval.icon.glossy:after, .oval.icon.glass:after {

-webkit-border-radius: 1.5em / 1em;

-moz-border-radius: 1.5em / 1em;

border-radius: 1.5em / 1em;

}

/* brackets */

.brackets, .brackets.glossy:after, .brackets.glass:after {

border-top: none;

-webkit-border-radius: .5em / 1em;

-moz-border-radius: .5em / 1em;

border-radius: .5em / 1em;

}

/* skew */

.skew {

border-top: none;

padding-right: 1.2em;

padding-left: 0.8em;

-webkit-border-radius: 5em 1em / 5em 1em;

-moz-border-radius: 5em 1em / 5em 1em;

border-radius: 5em 1em / 5em 1em;

}

.skew.glossy:after, .skew.glass:after {

left: 10%;

-webkit-border-radius: 7em 1em / 5em 1em;

-moz-border-radius: 7em 1em / 5em 1em;

border-radius: 7em 1em / 5em 1em;

}

.skew.icon {

padding-right: .9em;

padding-left: .8em;

}

/* back */

.back, .back.glossy:after, .back.glass:after {

border-top-color: rgba(255,255,255,0.5);

-webkit-border-radius: 1.6em 1.6em 1em 1em / 4em 4em 1em 1em;

-moz-border-radius: 1.6em 1.6em 1em 1em / 4em 4em 1em 1em;

border-radius: 1.6em 1.6em 1em 1em / 4em 4em 1em 1em;

}

.back.glossy:after, .back.glass:after {

left: 6%;

width: 88%;

}

/* knife */

.knife {

padding-left: 1.5em;

-webkit-border-radius: .2em .5em .5em 8em / .2em .5em .5em 5em;

-moz-border-radius: .2em .5em .5em 8em / .2em .5em .5em 5em;

border-radius: .2em .5em .5em 8em / .2em .5em .5em 5em;

}

.knife.glossy:after, .knife.glass:after {

left: 3%;

width: 97%;

-webkit-border-radius: .1em .5em .5em 8em / .1em .5em .5em 2em;

-moz-border-radius: .1em .5em .5em 8em / .1em .5em .5em 2em;

border-radius: .1em .5em .5em 8em / .1em .5em .5em 2em;

}

.knife.glossy.icon:after, .knife.glass.icon:after {

left: 5%;

width: 95%;

-webkit-border-radius: .5em .5em 1em 6em / .5em .5em 1em 4em;

-moz-border-radius: .5em .5em 1em 6em / .5em .5em 1em 4em;

border-radius: .5em .5em 1em 6em / .5em .5em 1em 4em;

}

/* shield */

.shield, .shield.glossy:after, .shield.glass:after {

-webkit-border-radius: .4em .4em 2em 2em / .4em .4em 3em 3em;

-moz-border-radius: .4em .4em 2em 2em / .4em .4em 3em 3em;

border-radius: .4em .4em 2em 2em / .4em .4em 3em 3em;

}

.shield {

padding-left: .8em;

padding-right: .8em;

}

.shield.icon {

padding-left: .6em;

padding-right: .6em;

}

/* drop */

.drop {

border-top: none;

-webkit-border-radius: 2em 5em 2em .6em / 2em 4em 2em .6em;

-moz-border-radius: 2em 5em 2em .6em / 2em 4em 2em .6em;

border-radius: 2em 5em 2em .6em / 2em 4em 2em .6em;

}

.drop.glossy:after, .drop.glass:after {

left: 4%;

-webkit-border-radius: 2em 6em 2em 1em / 2em 4em 2em 2em;

-moz-border-radius: 2em 6em 2em 1em / 2em 4em 2em 2em;

border-radius: 2em 6em 2em 1em / 2em 4em 2em 2em;

}

.drop.icon {

padding-right: .6em;

}

/* morph */

.morph {

border-top: none;

-webkit-border-radius: 5em / 2em;

-moz-border-radius: 5em / 2em;

border-radius: 5em / 2em;

-webkit-transition: -webkit-border-radius .3s ease-in-out;

-moz-transition: -moz-border-radius .3s ease-in-out;

transition: -moz-border-radius .3s ease-in-out;

}

.morph:hover {

-webkit-border-radius: .4em .4em 2em 2em / .4em .4em 3em 3em;

-moz-border-radius: .4em .4em 2em 2em / .4em .4em 3em 3em;

border-radius: .4em .4em 2em 2em / .4em .4em 3em 3em;

}

.morph:active {

-webkit-border-radius: .3em;

-moz-border-radius: .3em;

border-radius: .3em;

}

.morph:after {

display: none;

}

/* Some ugly hacks for FF.

Thanks to David Hund for some help - http://valuedstandards.com/static/test/buttons/ */

@-moz-document url-prefix() {

.button { text-align: center; }

.icon { padding: .5em 1em; }

.icon:before { margin-left: -.42em; float: left; }

.drop.icon { padding-right: 1.1em; }

.shield.icon { padding-left: 1.1em; padding-right: 1.1em; }

.skew.icon { padding-right: 1.4em; padding-left: 1.3em; }

.oval.icon { padding-left: 1.3em; padding-right: 1.3em; }

.knife { padding-left: 2em; }

}

/* Damn, this became a fat baby.. */

这篇关于html5 异形按钮,css3打造一款漂亮的卡哇伊按钮的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/358570

相关文章

HTML5的input标签的`type`属性值详解和代码示例

《HTML5的input标签的`type`属性值详解和代码示例》HTML5的`input`标签提供了多种`type`属性值,用于创建不同类型的输入控件,满足用户输入的多样化需求,从文本输入、密码输入、... 目录一、引言二、文本类输入类型2.1 text2.2 password2.3 textarea(严格

SpringBoot返回文件让前端下载的几种方式

《SpringBoot返回文件让前端下载的几种方式》文章介绍了开发中文件下载的两种常见解决方案,并详细描述了通过后端进行下载的原理和步骤,包括一次性读取到内存和分块写入响应输出流两种方法,此外,还提供... 目录01 背景02 一次性读取到内存,通过响应输出流输出到前端02 将文件流通过循环写入到响应输出流

SpringBoot+Vue3整合SSE实现实时消息推送功能

《SpringBoot+Vue3整合SSE实现实时消息推送功能》在日常开发中,我们经常需要实现实时消息推送的功能,这篇文章将基于SpringBoot和Vue3来简单实现一个入门级的例子,下面小编就和大... 目录前言先大概介绍下SSE后端实现(SpringBoot)前端实现(vue3)1. 数据类型定义2.

Python使用wxPython打造文件批量压缩工具

《Python使用wxPython打造文件批量压缩工具》在日常工作中,我们经常需要将多个文件打包压缩,下面我们就来看看如何使用Python的wxPython库,创建一个功能强大的图形化文件批量压缩工具... 目录前言项目需求分析技术选型运行效果核心实现1. 界面布局设计2. 多种文件添加方式3. 可勾选的文

前端Visual Studio Code安装配置教程之下载、汉化、常用组件及基本操作

《前端VisualStudioCode安装配置教程之下载、汉化、常用组件及基本操作》VisualStudioCode是微软推出的一个强大的代码编辑器,功能强大,操作简单便捷,还有着良好的用户界面,... 目录一、Visual Studio Code下载二、汉化三、常用组件1、Auto Rename Tag2

vite搭建vue3项目的搭建步骤

《vite搭建vue3项目的搭建步骤》本文主要介绍了vite搭建vue3项目的搭建步骤,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学... 目录1.确保Nodejs环境2.使用vite-cli工具3.进入项目安装依赖1.确保Nodejs环境

Nginx搭建前端本地预览环境的完整步骤教学

《Nginx搭建前端本地预览环境的完整步骤教学》这篇文章主要为大家详细介绍了Nginx搭建前端本地预览环境的完整步骤教学,文中的示例代码讲解详细,感兴趣的小伙伴可以跟随小编一起学习一下... 目录项目目录结构核心配置文件:nginx.conf脚本化操作:nginx.shnpm 脚本集成总结:对前端的意义很多

前端缓存策略的自解方案全解析

《前端缓存策略的自解方案全解析》缓存从来都是前端的一个痛点,很多前端搞不清楚缓存到底是何物,:本文主要介绍前端缓存的自解方案,文中通过代码介绍的非常详细,需要的朋友可以参考下... 目录一、为什么“清缓存”成了技术圈的梗二、先给缓存“把个脉”:浏览器到底缓存了谁?三、设计思路:把“发版”做成“自愈”四、代码

通过React实现页面的无限滚动效果

《通过React实现页面的无限滚动效果》今天我们来聊聊无限滚动这个现代Web开发中不可或缺的技术,无论你是刷微博、逛知乎还是看脚本,无限滚动都已经渗透到我们日常的浏览体验中,那么,如何优雅地实现它呢?... 目录1. 早期的解决方案2. 交叉观察者:IntersectionObserver2.1 Inter

Vue3视频播放组件 vue3-video-play使用方式

《Vue3视频播放组件vue3-video-play使用方式》vue3-video-play是Vue3的视频播放组件,基于原生video标签开发,支持MP4和HLS流,提供全局/局部引入方式,可监听... 目录一、安装二、全局引入三、局部引入四、基本使用五、事件监听六、播放 HLS 流七、更多功能总结在 v