Skip to content

Commit 64161ae

Browse files
committed
doing css
1 parent a0b5456 commit 64161ae

File tree

3 files changed

+24
-7
lines changed

3 files changed

+24
-7
lines changed

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"liveServer.settings.port": 5502
2+
"liveServer.settings.port": 5503
33
}

Projects/Randompassgen/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
<div class="maincontainer">
1111
<div class="con1">
1212
<h1>Generate a <br><span class="sp1">Random Password</span></h1>
13-
<div class="dis"><input type="text" placeholder="Password" id="in">
13+
<div class="dis">
14+
<input type="text" placeholder="Password" id="in">
1415
<img class="copy" src="/Projects/Randompassgen/pic/copy.png">
1516
</div>
1617
</div>

Projects/Randompassgen/style.css

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,26 @@ body{
1212
.sp1{
1313
color: #FFFC31;
1414
}
15-
.copy{
16-
width: 20px;
17-
15+
.dis{
16+
background-color: #fff;
17+
width: 25%;
18+
border-radius: 3px;
19+
display: flex;
20+
align-items: center;
21+
justify-content: space-between;
22+
padding:7px;
23+
margin-bottom:10px ;
24+
margin-top: 10px;
1825
}
19-
#in{
20-
max-width: 30%;
26+
.dis img{
27+
width: 5%;
28+
margin-right: 5%;
29+
30+
31+
}
32+
.dis input{
33+
border: 0;
34+
outline: 0;
35+
36+
2137
}

0 commit comments

Comments
 (0)