content logo

Bootstrap Toggle Switches:

Windows Menu in Bootstrap

If you are looking for a functional Bootstrap Bluetooth Switch, look at this post carefully and use the following code. This post has a great performance and anyone can use it on his/ her website. You can see the Windows Menu in Bootstrap in this post with an incredible function. By using this Windows Bootstrap Form, you can change the appearance of your website. This causes many people to attract your website and interest older audiences.

We have prepared the preview of the Toggle Switch using Bootstrap below and you can look at and use it. As you see here, this code has a dark theme with pink color. This form shows the Bluetooth and devices. You can see the Bluetooth icon in the middle of the page. To turn on the Bluetooth, you should choose its specific button on the right side. When the Bluetooth is off, its button is white and you can see the term “Off”. If you click on this option, the Bluetooth will be on from left to right. Then its color changes to pink and the term “On” turns to white. A part of this button is white. You can download and use this Windows Bootstrap Menu from the link below.

#

Bootstrap Bluetooth Switch

#

Toggle Switch using Bootstrap

#

Windows Bootstrap Form

#

Windows Bootstrap Menu

<!-- This script got from frontendfreecode.com -->
<div class="DivContainer">
    <div class="containerInner">
        <h2 class="p-3">Bluetooth & Devices</h2>
        <ul>
            <li>
                <div class="d-flex p-3">
                    <div>
                        <svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="50" height="50" viewBox="0 0 172 172" style=" fill:#000000;">
                            <g fill="none" fill-rule="nonzero" stroke="none" stroke-width="1" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="10" stroke-dasharray="" stroke-dashoffset="0" font-family="none" font-weight="none" font-size="none" text-anchor="none" style="mix-blend-mode: normal">
                                <path d="M0,172v-172h172v172z" fill="none"></path>
                                <g fill="#ffffff">
                                    <path d="M85.66406,17.2112c-3.03008,0.17814 -5.39639,2.68682 -5.39739,5.72214v53.41406l-25.35208,-17.96146c-1.67224,-1.18482 -3.84962,-1.38733 -5.71168,-0.53121c-1.86206,0.85612 -3.12582,2.64074 -3.31508,4.68143c-0.18926,2.04068 0.72474,4.02728 2.3976,5.21124l28.73386,20.34661l-29.38333,28.16276c-2.28824,2.18929 -2.36846,5.81905 -0.17917,8.10729c2.18929,2.28824 5.81905,2.36846 8.10729,0.17917l24.7026,-23.67239v48.19583c0.00298,2.35868 1.45006,4.47491 3.64697,5.33338c2.19691,0.85848 4.6954,0.28404 6.29678,-1.44771l34.4,-37.26667c1.11847,-1.21152 1.66126,-2.84591 1.48976,-4.48583c-0.1715,-1.63993 -1.04067,-3.12665 -2.38559,-4.08057l-28.73386,-20.34661l29.38333,-28.16276c1.14429,-1.09627 1.78386,-2.61723 1.76689,-4.20182c-0.01697,-1.58459 -0.68897,-3.0915 -1.85647,-4.16302l-34.4,-31.53333c-1.14271,-1.04913 -2.66175,-1.59049 -4.21042,-1.50052zM91.73333,35.96771l20.29062,18.58854l-20.29062,19.43958zM91.73333,98.51927l20.03308,14.18776l-20.03308,21.70156z"></path>
                                </g>
                            </g>
                        </svg>
                    </div>
                    <div class="optionDetail">
                        <h5>Bluetooth</h5>
                        <p>Discoverable as "Bluetooth Name"</p>
                    </div>
                    <div class="text-right pt-4">
                        <input type="checkbox" checked data-toggle="toggle">
                    </div>
                </div>
            </li>
        </ul>
    </div>
</div><a style="font-size: 8pt; text-decoration: none" target="_blank" href="http://frontendfreecode.com">Free Frontend</a>
                                                                            
body {
  background-color: #060606;
}
.DivContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
.containerInner {
  border: 3px solid #c30052;
  background: linear-gradient(323deg, #241c28 20px, #291c1e);
  width: 700px;
  height: 400px;
  border-radius: 10px;
}
.containerInner {
  color: #cecbcd;
}
.containerInner ul {
  list-style-type: none;
  margin: 0 10px;
  padding: 0;
}
.containerInner ul li {
  background-color: #32282f;
  border-radius: 5px;
  color: #fff !important;
}
.containerInner ul li svg {
  margin: 0 10px;
  margin-right: 20px;
  width: 50px;
  margin-top: 5px;
  height: auto;
}
.optionDetail {
  width: 70%;
}
.btn-primary {
  color: #fff;
  background-color: #ff459d;
  border-color: #ff459d;
}
.btn-primary:hover {
  background-color: #f7107e;
  border-color: #f7107e;
}
.toggle-off {
  background-color: #dadada;
}
.toggle-handle.btn.btn-default {
  background-color: white;
}
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.0.2/css/bootstrap.min.css'>
<link rel='stylesheet' href='https://gitcdn.github.io/bootstrap-toggle/2.2.2/css/bootstrap-toggle.min.css'>
<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.1.3/js/bootstrap.min.js'></script>
<script src='https://gitcdn.github.io/bootstrap-toggle/2.2.2/js/bootstrap-toggle.min.js'></script>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!-- This script got from frontendfreecode.com -->

<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.0.2/css/bootstrap.min.css'>
<link rel='stylesheet' href='https://gitcdn.github.io/bootstrap-toggle/2.2.2/css/bootstrap-toggle.min.css'>
<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.1.3/js/bootstrap.min.js'></script>
<script src='https://gitcdn.github.io/bootstrap-toggle/2.2.2/js/bootstrap-toggle.min.js'></script>
<style>
body {
  background-color: #060606;
}
.DivContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
.containerInner {
  border: 3px solid #c30052;
  background: linear-gradient(323deg, #241c28 20px, #291c1e);
  width: 700px;
  height: 400px;
  border-radius: 10px;
}
.containerInner {
  color: #cecbcd;
}
.containerInner ul {
  list-style-type: none;
  margin: 0 10px;
  padding: 0;
}
.containerInner ul li {
  background-color: #32282f;
  border-radius: 5px;
  color: #fff !important;
}
.containerInner ul li svg {
  margin: 0 10px;
  margin-right: 20px;
  width: 50px;
  margin-top: 5px;
  height: auto;
}
.optionDetail {
  width: 70%;
}
.btn-primary {
  color: #fff;
  background-color: #ff459d;
  border-color: #ff459d;
}
.btn-primary:hover {
  background-color: #f7107e;
  border-color: #f7107e;
}
.toggle-off {
  background-color: #dadada;
}
.toggle-handle.btn.btn-default {
  background-color: white;
}
</style>

</head>
<body>
<div class="DivContainer">
    <div class="containerInner">
        <h2 class="p-3">Bluetooth & Devices</h2>
        <ul>
            <li>
                <div class="d-flex p-3">
                    <div>
                        <svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="50" height="50" viewBox="0 0 172 172" style=" fill:#000000;">
                            <g fill="none" fill-rule="nonzero" stroke="none" stroke-width="1" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="10" stroke-dasharray="" stroke-dashoffset="0" font-family="none" font-weight="none" font-size="none" text-anchor="none" style="mix-blend-mode: normal">
                                <path d="M0,172v-172h172v172z" fill="none"></path>
                                <g fill="#ffffff">
                                    <path d="M85.66406,17.2112c-3.03008,0.17814 -5.39639,2.68682 -5.39739,5.72214v53.41406l-25.35208,-17.96146c-1.67224,-1.18482 -3.84962,-1.38733 -5.71168,-0.53121c-1.86206,0.85612 -3.12582,2.64074 -3.31508,4.68143c-0.18926,2.04068 0.72474,4.02728 2.3976,5.21124l28.73386,20.34661l-29.38333,28.16276c-2.28824,2.18929 -2.36846,5.81905 -0.17917,8.10729c2.18929,2.28824 5.81905,2.36846 8.10729,0.17917l24.7026,-23.67239v48.19583c0.00298,2.35868 1.45006,4.47491 3.64697,5.33338c2.19691,0.85848 4.6954,0.28404 6.29678,-1.44771l34.4,-37.26667c1.11847,-1.21152 1.66126,-2.84591 1.48976,-4.48583c-0.1715,-1.63993 -1.04067,-3.12665 -2.38559,-4.08057l-28.73386,-20.34661l29.38333,-28.16276c1.14429,-1.09627 1.78386,-2.61723 1.76689,-4.20182c-0.01697,-1.58459 -0.68897,-3.0915 -1.85647,-4.16302l-34.4,-31.53333c-1.14271,-1.04913 -2.66175,-1.59049 -4.21042,-1.50052zM91.73333,35.96771l20.29062,18.58854l-20.29062,19.43958zM91.73333,98.51927l20.03308,14.18776l-20.03308,21.70156z"></path>
                                </g>
                            </g>
                        </svg>
                    </div>
                    <div class="optionDetail">
                        <h5>Bluetooth</h5>
                        <p>Discoverable as "Bluetooth Name"</p>
                    </div>
                    <div class="text-right pt-4">
                        <input type="checkbox" checked data-toggle="toggle">
                    </div>
                </div>
            </li>
        </ul>
    </div>
</div><div id="bcl"><a style="font-size:8pt;text-decoration:none;" href="http://www.devanswer.com">Free Frontend</a></div>

</body>
</html>
Preview