5款CSS3选项框单选按钮样式(走过路过不要错过)

2023-10-18 10:28

本文主要是介绍5款CSS3选项框单选按钮样式(走过路过不要错过),希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

5款CSS3选项框单选按钮样式是一款创意好看的选项单选按钮样式特效。

样式如下:
文章顶部就是源码,如果下载不了(如果被弄成收费or要VPI才能下载)私一下我,第一次弄csdn的资源绑定,不行我重新弄成网盘的

百度网盘下载

链接:https://pan.baidu.com/s/13yfAxbeBxvU2r09WzG9fqQ?pwd=1w53 
提取码:1w53

(有很多一样的,可惜很恶心,要收费,这边提供免费的demo;一个简单的样式却要开VIP or 收费,啧啧啧~)
在这里插入图片描述
文件夹内容:
在这里插入图片描述
在这里插入图片描述

代码

index.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, shrink-to-fit=no">
<!-- SEO Meta description -->
<meta name="description" content="Deby - Custom Radio Buttons">
<meta name="keywords" content="css, html, css3, html5, responsive, cross browser, custom, button, radio button, form, checkboxes, creative, animation, responsive, clean">
<meta name="author" content="epic_theme">
<!-- title -->
<title>Deby - Custom Radio Buttons</title>
<!--favicon icon--><!--google fonts-->
<link href="static/css/css2.css" rel="stylesheet">
<!--Bootstrap css-->
<link rel="stylesheet" href="static/css/bootstrap.min.css">
<!--Font awesome fonts css-->
<link rel="stylesheet" href="static/css/font-awesome.min.css">
<!--demo style css-->
<link rel="stylesheet" href="static/css/demo-styles.css">
<!-- deby style css-->
<link rel="stylesheet" href="static/css/deby-styles.css">
</head>
<body><!--preloader start-->
<div class="preloader-wrap"><div class="preloader-inner"><div id="loader"></div></div>
</div>
<!--preloader end--><!--header section start-->
<header class="header primary-bg ptb-100"><div class="container"><div class="row"><div class="col-md-12 text-center"><h1 class="text-white">Deby - Custom Radio Buttons</h1></div></div></div>
</header>
<!--header section end--><!--body content wrap start-->
<div class="main"><!--demo section start--><section class="content-section ptb-100"><div class="container"><!-- content --><div class="row justify-content-md-center"><!-- single section --><div class="row mb-5"><div class="col-md-12"><div class="section-heading text-center pb-3 mb-3"><h2 class="title m-0"> Radio Button Style 1</h2></div></div><div class="col-xl-12 col-md-12 my-3"><!-- single item -->	<div class="card-style1"><div class="title">Choose Your Options</div><div class="content"><input type="radio" name="rd" id="option1-1"><input type="radio" name="rd" id="option1-2"><input type="radio" name="rd" id="option1-3"><label for="option1-1" class="box first"><div class="option"><span class="circle"></span><span class="yearly">OPTION 1</span></div><span class="price">100$/year</span></label><label for="option1-2" class="box second"><div class="option"><span class="circle"></span><span class="yearly">OPTION 2</span></div><span class="price">120$/year</span></label><label for="option1-3" class="box third"><div class="option"><span class="circle"></span><span class="yearly">OPTION 3</span></div><span class="price">150$/year</span></label></div></div></div></div><!-- single section --><div class="row mb-5"><div class="col-md-12"><div class="section-heading text-center pb-3 mb-3"><h2 class="title m-0"> Radio Button Style 2</h2></div></div><div class="col-xl-12 col-md-12 my-3"><!-- single item -->	<div class="card-style2"><div class="title">Choose Your Options</div><div class="content"><input type="radio" name="select" id="option2-1" checked=""><input type="radio" name="select" id="option2-2"><label for="option2-1" class="box first"><div class="circle"></div><span>OPTION 1</span></label><label for="option2-2" class="box second"><div class="circle"></div><span>OPTION 2</span></label></div></div></div></div><!-- single section --><div class="row mb-5"><div class="col-md-12"><div class="section-heading text-center pb-3 mb-3"><h2 class="title m-0"> Radio Button Style 3</h2></div></div><div class="col-xl-12 col-md-12 my-3"><!-- single item -->	<div class="card-style3"><div class="title">Choose Your Options</div><div class="content"><label class="box"><input type="radio" name="radio" checked=""><span class="option"><i class="fa fa-check-circle"></i><div class="icon"><i class="fa fa-bandcamp"></i><span>OPTION 1</span></div></span></label><label class="box"><input type="radio" name="radio"><span class="option"><i class="fa fa-check-circle"></i><div class="icon"><i class="fa fa-eercast"></i><span>OPTION 2</span></div></span></label><label class="box"><input type="radio" name="radio"><span class="option"><i class="fa fa-check-circle"></i><div class="icon"><i class="fa fa-grav"></i><span>OPTION 3</span></div></span></label><label class="box"><input type="radio" name="radio"><span class="option"><i class="fa fa-check-circle"></i><div class="icon"><i class="fa fa-superpowers"></i><span>OPTION 4</span></div></span></label></div></div></div></div><!-- single section --><div class="row mb-5"><div class="col-md-12"><div class="section-heading text-center pb-3 mb-3"><h2 class="title m-0"> Radio Button Style 4</h2></div></div><div class="col-xl-12 col-md-12 my-3"><!-- single item -->	<div class="card-style4"><div class="title">Choose Your Options</div><div class="content"><label class="box"><input type="radio" name="radio"><div class="option"><img src="static/picture/safari.png"><div class="radio-content"><span class="radio-title">Download for <br><span>apple safari</span></span></div></div></label><label class="box"><input type="radio" name="radio"><div class="option"><img src="static/picture/chrome.png"><div class="radio-content"><span class="radio-title">Download for <br><span>google chrome</span></span></div></div></label><label class="box"><input type="radio" name="radio"><div class="option"><img src="static/picture/firefox.png"><div class="radio-content"><span class="radio-title">Download for <br><span>mozilla firefox</span></span></div></div></label></div></div></div></div><!-- single section --><div class="row"><div class="col-md-12"><div class="section-heading text-center pb-3 mb-3"><h2 class="title m-0"> Radio Button Style 5</h2></div></div><div class="col-xl-12 col-md-12 my-3"><!-- single item -->	<div class="card-style5"><div class="title">Choose Your Options</div><div class="content"><input type="radio" name="select" id="option5-1"><input type="radio" name="select" id="option5-2"><input type="radio" name="select" id="option5-3"><input type="radio" name="select" id="option5-4"><label for="option5-1" class="box first"><div class="dot"></div><div class="text">OPTION 1</div></label><label for="option5-2" class="box second"><div class="dot"></div><div class="text">OPTION 2</div></label><label for="option5-3" class="box third"><div class="dot"></div><div class="text">OPTION 3</div></label><label for="option5-4" class="box fourth"><div class="dot"></div><div class="text">OPTION 4</div></label></div></div></div></div></div></div></section><!--demo section end--><!--call to action start--><div class="call-to-action-section my-5"><div class="container"><div class="row py-5 px-3 shadow-lg border"><div class="col-md-8 col-sm-12"><h4 class="m-0 text-uppercase m-0 text-uppercase pt-2">Interested to purchase now</h4></div><div class="col-md-4 col-sm-12"><a href="javascript:;" class="btn btn-lg border shadow-sm primary-bg float-right float-sm-right text-white">Buy Now</a></div></div></div></div><!--call to action end--></div>
<!--body content wrap end--><!--footer section start-->
<footer class="footer text-center primary-bg py-4"><div class="container"><div class="row"><div class="col-md-12 text-white"></div></div></div>
</footer>
<!--footer section end--><!--jQuery-->
<script src="static/js/jquery-3.4.1.min.js"></script>
<!--Bootstrap js-->
<script src="static/js/bootstrap.min.js"></script><!--custom js-->
<script src="static/js/scripts.js"></script></body>
</html>

这篇关于5款CSS3选项框单选按钮样式(走过路过不要错过)的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



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

相关文章

SQL Server安装时候没有中文选项的解决方法

《SQLServer安装时候没有中文选项的解决方法》用户安装SQLServer时界面全英文,无中文选项,通过修改安装设置中的国家或地区为中文中国,重启安装程序后界面恢复中文,解决了问题,对SQLSe... 你是不是在安装SQL Server时候发现安装界面和别人不同,并且无论如何都没有中文选项?这个问题也

从入门到精通详解LangChain加载HTML内容的全攻略

《从入门到精通详解LangChain加载HTML内容的全攻略》这篇文章主要为大家详细介绍了如何用LangChain优雅地处理HTML内容,文中的示例代码讲解详细,感兴趣的小伙伴可以跟随小编一起学习一下... 目录引言:当大语言模型遇见html一、HTML加载器为什么需要专门的HTML加载器核心加载器对比表二

SpringBoot+EasyExcel实现自定义复杂样式导入导出

《SpringBoot+EasyExcel实现自定义复杂样式导入导出》这篇文章主要为大家详细介绍了SpringBoot如何结果EasyExcel实现自定义复杂样式导入导出功能,文中的示例代码讲解详细,... 目录安装处理自定义导出复杂场景1、列不固定,动态列2、动态下拉3、自定义锁定行/列,添加密码4、合并

前端如何通过nginx访问本地端口

《前端如何通过nginx访问本地端口》:本文主要介绍前端如何通过nginx访问本地端口的问题,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录一、nginx安装1、下载(1)下载地址(2)系统选择(3)版本选择2、安装部署(1)解压(2)配置文件修改(3)启动(4)

HTML中meta标签的常见使用案例(示例详解)

《HTML中meta标签的常见使用案例(示例详解)》HTMLmeta标签用于提供文档元数据,涵盖字符编码、SEO优化、社交媒体集成、移动设备适配、浏览器控制及安全隐私设置,优化页面显示与搜索引擎索引... 目录html中meta标签的常见使用案例一、基础功能二、搜索引擎优化(seo)三、社交媒体集成四、移动

HTML input 标签示例详解

《HTMLinput标签示例详解》input标签主要用于接收用户的输入,随type属性值的不同,变换其具体功能,本文通过实例图文并茂的形式给大家介绍HTMLinput标签,感兴趣的朋友一... 目录通用属性输入框单行文本输入框 text密码输入框 password数字输入框 number电子邮件输入编程框

HTML img标签和超链接标签详细介绍

《HTMLimg标签和超链接标签详细介绍》:本文主要介绍了HTML中img标签的使用,包括src属性(指定图片路径)、相对/绝对路径区别、alt替代文本、title提示、宽高控制及边框设置等,详细内容请阅读本文,希望能对你有所帮助... 目录img 标签src 属性alt 属性title 属性width/h

CSS3打造的现代交互式登录界面详细实现过程

《CSS3打造的现代交互式登录界面详细实现过程》本文介绍CSS3和jQuery在登录界面设计中的应用,涵盖动画、选择器、自定义字体及盒模型技术,提升界面美观与交互性,同时优化性能和可访问性,感兴趣的朋... 目录1. css3用户登录界面设计概述1.1 用户界面设计的重要性1.2 CSS3的新特性与优势1.

HTML5 中的<button>标签用法和特征

《HTML5中的<button>标签用法和特征》在HTML5中,button标签用于定义一个可点击的按钮,它是创建交互式网页的重要元素之一,本文将深入解析HTML5中的button标签,详细介绍其属... 目录引言<button> 标签的基本用法<button> 标签的属性typevaluedisabled

HTML5实现的移动端购物车自动结算功能示例代码

《HTML5实现的移动端购物车自动结算功能示例代码》本文介绍HTML5实现移动端购物车自动结算,通过WebStorage、事件监听、DOM操作等技术,确保实时更新与数据同步,优化性能及无障碍性,提升用... 目录1. 移动端购物车自动结算概述2. 数据存储与状态保存机制2.1 浏览器端的数据存储方式2.1.