Skip to content

Commit 6111f82

Browse files
committed
image style modified for responsive design i.e mobile
1 parent a855516 commit 6111f82

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

css/style.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,14 @@
7373
height: 1em;
7474
overflow: visible;
7575
vertical-align: -.125em;
76+
}
77+
78+
@media only screen and (max-width: 480px) {
79+
#profile_image{
80+
width: 250px !important;
81+
height: 250px !important;
82+
display: block;
83+
margin-left: auto;
84+
margin-right: auto;
85+
}
7686
}

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<div class="w3-white w3-text-black w3-card-4">
2424
<div class="w3-display-container">
2525
<a href="https://laziestcoder.github.io"><img src="Towfiqul%20Islam.jpg" style="width:100%"
26-
alt="Towfiqul Islam" title="Towfiqul Islam"></a>
26+
id="profile_image" alt="Towfiqul Islam" title="Towfiqul Islam"></a>
2727
</div>
2828
<div class="w3-container">
2929
<h1><em>Towfiqul Islam</em></h1>

0 commit comments

Comments
 (0)