项目演示
github地址 vue-ant-design
gitee地址 vue-ant-design 项目地址
项目4个分支 ant-design ant-dessign-electron element-plus element-plus-electron


<!--* @name: name* @description: Description* @lastEditors: Francis* @date: Do not edit* @lastEditTime: Do not edit* @filePath: Do not edit
-->
<template><div class="titleContent"><!-- <div class="title1" data-color="red"></div> --><div :class="'title  title'+value" :data-text="'标题-ranAdmin'+value" v-for="value in 18" :key="value">标题-ranAdmin</div></div></template>
<script setup></script>
<style lang="less">.titleContent {>div {margin: 15px;}}.title {height: 32px;font-weight: 600;line-height: 32px;margin-left: 5px;padding-left: 5px;position: relative;color: #000;z-index: 0;}.title1 {padding-left: 15px;&:after {content: " ";width: 4px;height: 20px;background: #12a3f5;position: absolute;left: 0;top: 6px;border-radius: 2px;}}.title2 {padding-left: 15px;&:after {content: " ";width: 8px;height: 8px;border-radius: 50%;background: #12a3f5;position: absolute;left: 0;top: 12px;}}.title3 {&:after {content: " ";position: absolute;bottom: 0;left: 0;position: absolute;height: 2px;width: 100%;background: linear-gradient(to right, #01DFE3, rgba(255, 255, 255, 0));}}.title4 {&:after {content: attr(data-text);position: absolute;display: inline-block;bottom: -8px;left: 5px;opacity: 0.2;z-index: 0;text-align: right;transform: rotateY(30deg);transform: scaleY(30deg);}}.title5 {color: #10faf8;padding-left: 80px;line-height: 22px;position: relative;border-bottom: 2px solid linear-gradient(to right, #01DFE3, rgba(255, 255, 255, 0));&:after {content: "";position: absolute;bottom: 0;top: 0;left: 18px;width: 50px;height: 18px;transform: skewX(35deg);background: linear-gradient(to right,#2d83fa,#10faf8);}&:before {content: "|||";display: inline-block;font-weight: 900;color: #FFF;line-height: 30px;font-size: 18px;position: absolute;position: absolute;top: -8px;left: 0;color: #2d83fa;transform: skewX(35deg);}}.title6 {color: #C6D039;padding-left: 80px;line-height: 22px;position: relative;border-bottom: 2px solid linear-gradient(to right, #01DFE3, rgba(255, 255, 255, 0));&:after {content: "";position: absolute;bottom: 0;top: 0;left: 18px;width: 50px;height: 18px;transform: skewX(35deg);background: linear-gradient(to right,#4BF15A,#C6D039);}&:before {content: "|||";display: inline-block;font-weight: 900;color: #FFF;line-height: 30px;font-size: 18px;position: absolute;position: absolute;top: -8px;left: 0;color: #4BF15A;transform: skewX(35deg);}}.title7 {&:after {content: "";position: absolute;bottom: 0;top: 0;left: 0;width: 180px;height: 100%;opacity: 0.3;background: linear-gradient(to right,#4BF15A,#4bf15900);}&:before {content: " ";position: absolute;bottom: 0;left: 0;position: absolute;height: 2px;width: 100%;background: linear-gradient(to right, #4BF15A, rgba(255, 255, 255, 0));}}.title8 {border-radius: 16px;border: 1px solid #e8e9fb;box-shadow: 0 0 10px #e8e9fb;text-align: center;width: 160px;color: #12a3f5;&:before {content: "";width: 300%;height: 2px;background: #e8e9fb;position: absolute;top: 15px;left: 100%;background: linear-gradient(to right, #e8e9fb, rgba(255, 255, 255, 0));}}.title9 {background: #ECF8FF;border-top-left-radius: 5px;padding-left: 20px;&:before {content: "";border-top-left-radius: 5px;border-bottom-left-radius: 5px;width: 4px;height: 100%;background: #50BFFF;position: absolute;top: 0;left: 0;}}.title10 {background: #FFF6F7;border-top-left-radius: 5px;padding-left: 20px;&:before {content: "";border-top-left-radius: 5px;border-bottom-left-radius: 5px;width: 4px;height: 100%;background: #FE6C6F;position: absolute;top: 0;left: 0;}}.title11 {display: inline-block;position: relative;width: 150px;height: 32px;line-height: 32px;padding-left: 15px;background: #50BFFF;left: -8px;color: #FFF;&:before {content: "";position: absolute;height: 0;width: 0;border-bottom: 8px solid #4396c5;border-left: 8px solid transparent;top: -8px;left: 0;}&:after {content: "";position: absolute;height: 0;width: 0;border-top: 15px solid transparent;border-bottom: 15px solid transparent;border-left: 8px solid #50BFFF;right: -8px;}}.title12 {position: relative;width: 160px;padding-left: 10px;// top: 15px;// padding: 8px 10px;background: #00B3ED;box-shadow: -1px 2px 4px rgba(0, 0, 0, 0.5);color: #FFF;// height: 40px;&:before {position: absolute;content: "";display: block;width: 7px;height: 100%;padding: 0 0 7px;top: 0;left: -7px;background: inherit;border-radius: 5px 0 0 5px;}&:before {position: absolute;content: "";display: block;width: 5px;height: 5px;background: rgba(0, 0, 0, 0.35);bottom: -5px;left: -5px;border-radius: 5px 0 0 5px;}}.title13 {border-left: 2px solid #FE6C6F;&:after {content: " ";position: absolute;bottom: 0;left: 0;position: absolute;height: 2px;width: 60%;background: linear-gradient(to right, #FE6C6F, rgba(255, 255, 255, 0));}&::before {content: " ";position: absolute;top: 0;left: 0;position: absolute;height: 2px;width: 30%;background: linear-gradient(to right, #FE6C6F, rgba(255, 255, 255, 0));}}.title14 {border-left: 2px solid #01DFE3;&:after {content: " ";position: absolute;bottom: 0;left: 0;position: absolute;height: 2px;width: 60%;background: linear-gradient(to right, #01DFE3, rgba(255, 255, 255, 0));}&::before {content: " ";position: absolute;top: 0;left: 0;position: absolute;height: 2px;width: 30%;background: linear-gradient(to right, #01DFE3, rgba(255, 255, 255, 0));}}.title15 {color: #FFF;padding-left: 50px;background: linear-gradient(-210deg, transparent 1.5em, #01DFE3 0);&::before {content: '';display: block;width: 1.73em;height: 3em;position: absolute;background: linear-gradient(-60deg, #577b98 50%, transparent 0);left: -3px;top: 0;border-bottom-left-radius: inherit;transform: translateY(-0.5em) rotate(30deg);transform-origin: bottom right;box-shadow: .2em .2em .3em -.1em rgba(0, 0, 0, .15);}}.title16 {color: #FFF;padding-left: 50px;background: linear-gradient(-210deg, transparent 1.5em, #FE6C6F 0);&::before {content: '';display: block;width: 1.73em;height: 3em;position: absolute;background: linear-gradient(-60deg, #f18384 50%, transparent 0);left: -3px;top: 0;border-bottom-left-radius: inherit;transform: translateY(-0.5em) rotate(30deg);transform-origin: bottom right;box-shadow: .2em .2em .3em -.1em rgba(0, 0, 0, .15);}}.title17 {&:after {content: " ";position: absolute;bottom: 0;left: 0;position: absolute;height: 100%;width: 100%;animation: animation3 1s linear infinite;background: linear-gradient(135deg, #01DFE3 0.25em, transparent 0.25em) -0.5em 0, linear-gradient(225deg, #01DFE3 0.25em, transparent 0.25em) -0.5em 0, linear-gradient(315deg, rgba(238, 161, 99, 0.25) 0.25em, transparent 0.25em) 0 0, linear-gradient(45deg, rgba(238, 161, 99, 0.25) 0.25em, transparent 0.25em) 0 0;background-size: 0.75em 0.75em;opacity: 0.3;}}.title18{&:after {content: " ";position: absolute;bottom: 0;left: 0;position: absolute;height: 100%;width: 100%;opacity: 0.3;animation: animation2 1s linear infinite;background: repeating-linear-gradient(45deg, #01DFE3 0, #01DFE3 0.25em, transparent 0.25em, transparent 0.5em);background-size: 0.75em 0.75em;   }}
</style>

18款超看好纯css 标题栏相关推荐

  1. css浅紫色,一款淡紫色纯CSS实现的开关/单选和复选组件

    CSS 语言: CSSSCSS 确定 @import url(https://fonts.googleapis.com/css?family=Roboto); .switch label { disp ...

  2. 7款漂亮的纯css字体样式

    转载于:https://blog.csdn.net/aa19891204/article/details/81021591 <!DOCTYPE html> <html>< ...

  3. 9款漂亮的纯css字体样式

    样式: 代码: <html> <head> </head> <style>body{text-align: center;}.hcqFont{posit ...

  4. html怎么实现蓝色垂直的直线,css实例教程 一款纯css实现的垂直时间线效果

    今天给大家分享一款纯css实现的垂直时间线效果.垂直时间线适合放在类似任务时间安排的网页上.该实现采用了蓝色作为主题色,界面效果还不错.一起看下效果图: 实现的代码. html代码: 复制代码代码如下 ...

  5. Java制作二级导航菜单_纯CSS实现超简单的二级下拉导航菜单代码

    本文实例讲述了纯CSS实现超简单的二级下拉导航菜单代码.分享给大家供大家参考.具体如下: 这是一款纯CSS菜单,二级下拉导航效果,是最简洁的CSS导航菜单,兼容性也很棒,IE7/8.火狐等都支持,而且 ...

  6. 苹果html5插件,纯CSS打造各种超逼真的苹果(Apple)设备模型

    CSSDevices是一款使用纯CSS制作的各种超逼真的苹果(Apple)设备模型.这些CSS苹果设备模型中可以嵌入图片.文字.视频等HTML元素,并且非常容易的就可以制作出轮播图的效果. 使用方法 ...

  7. 超棒的跨浏览器纯CSS动画实现 - Animate.css

    为什么80%的码农都做不了架构师?>>>    日期:2012-8-12  来源:GBin1.com 在线演示  本地下载 通常情况下如果需要生成web动画效果的话,我们肯定会考虑使 ...

  8. 超详细的纯CSS的照片墙特效

    超详细的纯CSS的照片墙特效 你好,欢迎来到Amy的第一篇博客呀~ 此博客纯属个人原创哦~ 前些天在公开课上讲过一个类似于拍立得的照片特效,然后在一个页面上放了多张就形成了一个照片墙,效果如下: 鼠标 ...

  9. 纯CSS时间轴实现的办法,超简单的!

    转自:http://oss.so/blog/21.html 在以往,如果要在网页上,实现时间轴效果,我们需要使用jQuery来实现.虽然jQuery十分的漂亮美观,但使用方法来说,太麻烦了.而我们现在 ...

最新文章

  1. [原创]商城系统下单库存管控系列杂记(二)(并发安全和性能部分延伸)
  2. 死磕Java并发:J.U.C之阻塞队列:LinkedBlockingDeque
  3. C++:C++语言入门级基础知识考察点回顾之数组、指针
  4. java将数组元素倒置(反转)的方法?我只想到了5种,有其他方式欢迎补充
  5. 打印机一直显示正在打印中_中国和桌面3D打印机正在引领3D打印市场
  6. 第 45 届国际大学生程序设计竞赛(ICPC)亚洲区域赛(昆明) Cities(区间dp)
  7. 服务器端如何开启GZIP压缩功能
  8. 二元置信椭圆r语言_r语言二元期权barrier option实现案例
  9. matplotlib绘图相关
  10. VS2010 C# 4.0新特性一览
  11. linux img提取文件系统,Linux下 mount IMG文件提示“您必须制定文件系统类型”解决方法...
  12. C#面试题(String和StringBuilder区别)
  13. 数据库的三才阵——地
  14. 深度学习在视频动作识别中的应用
  15. python取出字典重复值_从字典中提取重复值
  16. python房屋租赁系统的设计与实现_毕业设计---在线房屋租赁系统的设计与实现.doc...
  17. 名词解释:DRAM, SRAM, SDRAM等
  18. mysql 误删除数据恢复
  19. word使用技巧大全
  20. CentOS 编译安装 Nebula Graph 3.10

热门文章

  1. 【BZOJ2149】拆迁队(斜率优化DP+CDQ分治)
  2. Nginx官方文档(四十六)【ngx_stream_access_module|ngx_stream_geo_module|ngx_stream_geoip_module】
  3. 批量大文本筛选过滤工具开发记录
  4. 华为数通笔记-网络参考模型及数据通信过程
  5. 2021-08-31智能脂肪秤方案人体阻抗测量分析模块
  6. java计算机毕业设计江西婺源旅游文化推广系统源码+mysql数据库+系统+lw文档+部署
  7. MySQL数据库表怎么进行添加数据、更新数据和删除数据操作——MySQL 5.7数据库
  8. Electron使用preload预加载及安全策略
  9. linux挂载和卸载磁盘
  10. Linux 挂载磁盘重启出错