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

相关文章

JS+HTML实现在线图片水印添加工具

《JS+HTML实现在线图片水印添加工具》在社交媒体和内容创作日益频繁的今天,如何保护原创内容、展示品牌身份成了一个不得不面对的问题,本文将实现一个完全基于HTML+CSS构建的现代化图片水印在线工具... 目录概述功能亮点使用方法技术解析延伸思考运行效果项目源码下载总结概述在社交媒体和内容创作日益频繁的

前端CSS Grid 布局示例详解

《前端CSSGrid布局示例详解》CSSGrid是一种二维布局系统,可以同时控制行和列,相比Flex(一维布局),更适合用在整体页面布局或复杂模块结构中,:本文主要介绍前端CSSGri... 目录css Grid 布局详解(通俗易懂版)一、概述二、基础概念三、创建 Grid 容器四、定义网格行和列五、设置行

前端下载文件时如何后端返回的文件流一些常见方法

《前端下载文件时如何后端返回的文件流一些常见方法》:本文主要介绍前端下载文件时如何后端返回的文件流一些常见方法,包括使用Blob和URL.createObjectURL创建下载链接,以及处理带有C... 目录1. 使用 Blob 和 URL.createObjectURL 创建下载链接例子:使用 Blob

Vuex Actions多参数传递的解决方案

《VuexActions多参数传递的解决方案》在Vuex中,actions的设计默认只支持单个参数传递,这有时会限制我们的使用场景,下面我将详细介绍几种处理多参数传递的解决方案,从基础到高级,... 目录一、对象封装法(推荐)二、参数解构法三、柯里化函数法四、Payload 工厂函数五、TypeScript

Vue3使用router,params传参为空问题

《Vue3使用router,params传参为空问题》:本文主要介绍Vue3使用router,params传参为空问题,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐... 目录vue3使用China编程router,params传参为空1.使用query方式传参2.使用 Histo

CSS Padding 和 Margin 区别全解析

《CSSPadding和Margin区别全解析》CSS中的padding和margin是两个非常基础且重要的属性,它们用于控制元素周围的空白区域,本文将详细介绍padding和... 目录css Padding 和 Margin 全解析1. Padding: 内边距2. Margin: 外边距3. Padd

CSS will-change 属性示例详解

《CSSwill-change属性示例详解》will-change是一个CSS属性,用于告诉浏览器某个元素在未来可能会发生哪些变化,本文给大家介绍CSSwill-change属性详解,感... will-change 是一个 css 属性,用于告诉浏览器某个元素在未来可能会发生哪些变化。这可以帮助浏览器优化

CSS去除a标签的下划线的几种方法

《CSS去除a标签的下划线的几种方法》本文给大家分享在CSS中,去除a标签(超链接)的下划线的几种方法,本文给大家介绍的非常详细,感兴趣的朋友一起看看吧... 在 css 中,去除a标签(超链接)的下划线主要有以下几种方法:使用text-decoration属性通用选择器设置:使用a标签选择器,将tex

前端高级CSS用法示例详解

《前端高级CSS用法示例详解》在前端开发中,CSS(层叠样式表)不仅是用来控制网页的外观和布局,更是实现复杂交互和动态效果的关键技术之一,随着前端技术的不断发展,CSS的用法也日益丰富和高级,本文将深... 前端高级css用法在前端开发中,CSS(层叠样式表)不仅是用来控制网页的外观和布局,更是实现复杂交

Python将博客内容html导出为Markdown格式

《Python将博客内容html导出为Markdown格式》Python将博客内容html导出为Markdown格式,通过博客url地址抓取文章,分析并提取出文章标题和内容,将内容构建成html,再转... 目录一、为什么要搞?二、准备如何搞?三、说搞咱就搞!抓取文章提取内容构建html转存markdown