Skip to content

Commit

Permalink
Merge pull request #13 from AkashKobal/main
Browse files Browse the repository at this point in the history
deployment
  • Loading branch information
AkashKobal authored Mar 10, 2024
2 parents da0b7e1 + a111200 commit d5a6103
Show file tree
Hide file tree
Showing 2 changed files with 251 additions and 0 deletions.
12 changes: 12 additions & 0 deletions index.html
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>
239 changes: 239 additions & 0 deletions left-frame.html
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>

0 comments on commit d5a6103

Please sign in to comment.