Skip to content

Commit 7c91103

Browse files
committed
Responsive
1 parent 0451684 commit 7c91103

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

My Website.code-workspace

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"folders": [
3+
{
4+
"path": ".."
5+
},
6+
{
7+
"name": "Mahdi0dev.github.io",
8+
"path": "."
9+
}
10+
],
11+
"settings": {
12+
"liveServer.settings.multiRootWorkspaceName": "My Website"
13+
}
14+
}

index.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,19 @@
4949
flex-grow: 1;
5050
text-align: center;
5151
}
52+
53+
/* اضافه کردن Media Query برای دستگاه‌های کوچک */
54+
@media only screen and (max-width: 768px) {
55+
.w3-row-padding {
56+
flex-direction: column;
57+
}
58+
.w3-third {
59+
width: 100% !important;
60+
}
61+
.w3-twothird {
62+
width: 100% !important;
63+
}
64+
}
5265
</style>
5366
</head>
5467
<body class="w3-light-grey">

0 commit comments

Comments
 (0)