-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from AkashKobal/main
deployment
- Loading branch information
Showing
2 changed files
with
251 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Document</title> | ||
</head> | ||
<body> | ||
<iframe src="left-frame.html" frameborder="0" height="1000px"></iframe> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,239 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Document</title> | ||
</head> | ||
<body> | ||
<div class="radio-group"> | ||
<input class="radio-input" name="radio-group" id="radio1" type="radio"> | ||
<label class="radio-label" for="radio1"> | ||
<span class="radio-inner-circle"></span> | ||
Option 1 | ||
</label> | ||
|
||
<input class="radio-input" name="radio-group" id="radio2" type="radio"> | ||
<label class="radio-label" for="radio2"> | ||
<span class="radio-inner-circle"></span> | ||
Option 2 | ||
</label> | ||
|
||
<input class="radio-input" name="radio-group" id="radio3" type="radio"> | ||
<label class="radio-label" for="radio3"> | ||
<span class="radio-inner-circle"></span> | ||
Option 3 | ||
</label> | ||
<input class="radio-input" name="radio-group" id="radio1" type="radio"> | ||
<label class="radio-label" for="radio1"> | ||
<span class="radio-inner-circle"></span> | ||
Option 1 | ||
</label> | ||
|
||
<input class="radio-input" name="radio-group" id="radio2" type="radio"> | ||
<label class="radio-label" for="radio2"> | ||
<span class="radio-inner-circle"></span> | ||
Option 2 | ||
</label> | ||
|
||
<input class="radio-input" name="radio-group" id="radio3" type="radio"> | ||
<label class="radio-label" for="radio3"> | ||
<span class="radio-inner-circle"></span> | ||
Option 3 | ||
</label> | ||
<input class="radio-input" name="radio-group" id="radio1" type="radio"> | ||
<label class="radio-label" for="radio1"> | ||
<span class="radio-inner-circle"></span> | ||
Option 1 | ||
</label> | ||
|
||
<input class="radio-input" name="radio-group" id="radio2" type="radio"> | ||
<label class="radio-label" for="radio2"> | ||
<span class="radio-inner-circle"></span> | ||
Option 2 | ||
</label> | ||
|
||
<input class="radio-input" name="radio-group" id="radio3" type="radio"> | ||
<label class="radio-label" for="radio3"> | ||
<span class="radio-inner-circle"></span> | ||
Option 3 | ||
</label> <input class="radio-input" name="radio-group" id="radio1" type="radio"> | ||
<label class="radio-label" for="radio1"> | ||
<span class="radio-inner-circle"></span> | ||
Option 1 | ||
</label> | ||
|
||
<input class="radio-input" name="radio-group" id="radio2" type="radio"> | ||
<label class="radio-label" for="radio2"> | ||
<span class="radio-inner-circle"></span> | ||
Option 2 | ||
</label> | ||
|
||
<input class="radio-input" name="radio-group" id="radio3" type="radio"> | ||
<label class="radio-label" for="radio3"> | ||
<span class="radio-inner-circle"></span> | ||
Option 3 | ||
</label> <input class="radio-input" name="radio-group" id="radio1" type="radio"> | ||
<label class="radio-label" for="radio1"> | ||
<span class="radio-inner-circle"></span> | ||
Option 1 | ||
</label> | ||
|
||
<input class="radio-input" name="radio-group" id="radio2" type="radio"> | ||
<label class="radio-label" for="radio2"> | ||
<span class="radio-inner-circle"></span> | ||
Option 2 | ||
</label> | ||
|
||
<input class="radio-input" name="radio-group" id="radio3" type="radio"> | ||
<label class="radio-label" for="radio3"> | ||
<span class="radio-inner-circle"></span> | ||
Option 3 | ||
</label> <input class="radio-input" name="radio-group" id="radio1" type="radio"> | ||
<label class="radio-label" for="radio1"> | ||
<span class="radio-inner-circle"></span> | ||
Option 1 | ||
</label> | ||
|
||
<input class="radio-input" name="radio-group" id="radio2" type="radio"> | ||
<label class="radio-label" for="radio2"> | ||
<span class="radio-inner-circle"></span> | ||
Option 2 | ||
</label> | ||
|
||
<input class="radio-input" name="radio-group" id="radio3" type="radio"> | ||
<label class="radio-label" for="radio3"> | ||
<span class="radio-inner-circle"></span> | ||
Option 3 | ||
</label> <input class="radio-input" name="radio-group" id="radio1" type="radio"> | ||
<label class="radio-label" for="radio1"> | ||
<span class="radio-inner-circle"></span> | ||
Option 1 | ||
</label> | ||
|
||
<input class="radio-input" name="radio-group" id="radio2" type="radio"> | ||
<label class="radio-label" for="radio2"> | ||
<span class="radio-inner-circle"></span> | ||
Option 2 | ||
</label> | ||
|
||
<input class="radio-input" name="radio-group" id="radio3" type="radio"> | ||
<label class="radio-label" for="radio3"> | ||
<span class="radio-inner-circle"></span> | ||
Option 3 | ||
</label> <input class="radio-input" name="radio-group" id="radio1" type="radio"> | ||
<label class="radio-label" for="radio1"> | ||
<span class="radio-inner-circle"></span> | ||
Option 1 | ||
</label> | ||
|
||
<input class="radio-input" name="radio-group" id="radio2" type="radio"> | ||
<label class="radio-label" for="radio2"> | ||
<span class="radio-inner-circle"></span> | ||
Option 2 | ||
</label> | ||
|
||
<input class="radio-input" name="radio-group" id="radio3" type="radio"> | ||
<label class="radio-label" for="radio3"> | ||
<span class="radio-inner-circle"></span> | ||
Option 3 | ||
</label> <input class="radio-input" name="radio-group" id="radio1" type="radio"> | ||
<label class="radio-label" for="radio1"> | ||
<span class="radio-inner-circle"></span> | ||
Option 1 | ||
</label> | ||
|
||
<input class="radio-input" name="radio-group" id="radio2" type="radio"> | ||
<label class="radio-label" for="radio2"> | ||
<span class="radio-inner-circle"></span> | ||
Option 2 | ||
</label> | ||
|
||
<input class="radio-input" name="radio-group" id="radio3" type="radio"> | ||
<label class="radio-label" for="radio3"> | ||
<span class="radio-inner-circle"></span> | ||
Option 3 | ||
</label> | ||
</div> | ||
</body> | ||
<style> | ||
* { | ||
box-sizing: border-box; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
body { | ||
font-family: Arial, sans-serif; | ||
background-color: #f1f1f1; | ||
padding: 20px; | ||
} | ||
|
||
.radio-group { | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
.radio-label { | ||
display: flex; | ||
align-items: center; | ||
padding: 0.5em; | ||
margin-bottom: 0.5em; | ||
background-color: #fff; | ||
border: 1px solid #ccc; | ||
border-radius: 4px; | ||
transition: background-color 0.2s, border-color 0.2s; | ||
} | ||
|
||
.radio-label:hover { | ||
background-color: #e6e6e6; | ||
} | ||
|
||
.radio-input { | ||
position: absolute; | ||
opacity: 0; | ||
} | ||
|
||
.radio-input:checked + .radio-label { | ||
background-color: #c3dbff; | ||
border-color: #1151ff; | ||
} | ||
|
||
.radio-input:focus + .radio-label { | ||
outline: 2px solid #1151ff; | ||
} | ||
|
||
.radio-inner-circle { | ||
display: inline-block; | ||
width: 1em; | ||
height: 1em; | ||
border: 2px solid #888; | ||
border-radius: 50%; | ||
margin-right: 0.5em; | ||
transition: border-color 0.2s; | ||
position: relative; | ||
} | ||
|
||
.radio-label:hover .radio-inner-circle { | ||
border-color: #555; | ||
} | ||
|
||
.radio-input:checked + .radio-label .radio-inner-circle { | ||
border-color: #1151ff; | ||
} | ||
|
||
.radio-input:checked + .radio-label .radio-inner-circle::after { | ||
content: ''; | ||
display: block; | ||
width: 0.5em; | ||
height: 0.5em; | ||
background-color: #1151ff; | ||
border-radius: 50%; | ||
position: absolute; | ||
top: 50%; | ||
left: 50%; | ||
transform: translate(-50%, -50%); | ||
} | ||
|
||
</style> | ||
</html> |