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

相关文章

Python实现Excel批量样式修改器(附完整代码)

《Python实现Excel批量样式修改器(附完整代码)》这篇文章主要为大家详细介绍了如何使用Python实现一个Excel批量样式修改器,文中的示例代码讲解详细,感兴趣的小伙伴可以跟随小编一起学习一... 目录前言功能特性核心功能界面特性系统要求安装说明使用指南基本操作流程高级功能技术实现核心技术栈关键函

Vue和React受控组件的区别小结

《Vue和React受控组件的区别小结》本文主要介绍了Vue和React受控组件的区别小结,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学... 目录背景React 的实现vue3 的实现写法一:直接修改事件参数写法二:通过ref引用 DOMVu

Java实现将HTML文件与字符串转换为图片

《Java实现将HTML文件与字符串转换为图片》在Java开发中,我们经常会遇到将HTML内容转换为图片的需求,本文小编就来和大家详细讲讲如何使用FreeSpire.DocforJava库来实现这一功... 目录前言核心实现:html 转图片完整代码场景 1:转换本地 HTML 文件为图片场景 2:转换 H

C#使用Spire.Doc for .NET实现HTML转Word的高效方案

《C#使用Spire.Docfor.NET实现HTML转Word的高效方案》在Web开发中,HTML内容的生成与处理是高频需求,然而,当用户需要将HTML页面或动态生成的HTML字符串转换为Wor... 目录引言一、html转Word的典型场景与挑战二、用 Spire.Doc 实现 HTML 转 Word1

Vue3绑定props默认值问题

《Vue3绑定props默认值问题》使用Vue3的defineProps配合TypeScript的interface定义props类型,并通过withDefaults设置默认值,使组件能安全访问传入的... 目录前言步骤步骤1:使用 defineProps 定义 Props步骤2:设置默认值总结前言使用T

基于Python Playwright进行前端性能测试的脚本实现

《基于PythonPlaywright进行前端性能测试的脚本实现》在当今Web应用开发中,性能优化是提升用户体验的关键因素之一,本文将介绍如何使用Playwright构建一个自动化性能测试工具,希望... 目录引言工具概述整体架构核心实现解析1. 浏览器初始化2. 性能数据收集3. 资源分析4. 关键性能指

Python清空Word段落样式的三种方法

《Python清空Word段落样式的三种方法》:本文主要介绍如何用python-docx库清空Word段落样式,提供三种方法:设置为Normal样式、清除直接格式、创建新Normal样式,注意需重... 目录方法一:直接设置段落样式为"Normal"方法二:清除所有直接格式设置方法三:创建新的Normal样

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、合并