我编辑了我的网站的css以使其响应,但与我的电脑相比,它看起来完全不同。我的网站与我的电脑相比略显不同我的电脑相比我的电脑
This is a screenshot from built-in firefox responsive design view
This one comes from my phone. It looks more stretched, especially when you look at text
CSS代码,responible的页面责任:
@media screen and (max-width:1300px) {
.wrapper {
width: 100%;
}
.header {
width: 100%;
padding: 40px 0;
}
.logo {
zoom: 0.7;
-moz-transform: scale(0.7);
padding: 30
margin-left: auto;
margin-right: auto;
}
.logo > img {
margin-left: auto;
margin-right: auto;
}
.nav {
width: 100%;
/*font-size: 60px;*/
padding: 10px 0;
background-color: #30415d;
text-align: center;
border-top: 1px solid #8eaebd;
border-bottom: 1px solid #8eaebd;
}
ol {
padding: 0;
margin: 0;
list-style-type: none;
font-size: 20px;
height: auto;
line-height: 200%;
display: inline-block;
}
ol > li {
float: left;
width: 150px;
/*height: 50px;*/
border-right: 1px solid #8eaebd;
}
.content {
width: 95%;
margin-top: 30px;
margin-bottom: 30px;
margin-left: auto;
margin-right: auto;
text-align: justify;
padding-top: 10px;
}
.socials {
width: 100%;
text-align: center;
background-color: #292929;
}
.socialdivs {
width: 100%;
margin-left: auto;
margin-right: auto;
}
.fb {
width: 25%;
height: 155px;
float:left;
}
.yt {
width: 25%;
height: 155px;
float:left;
}
.tw {
width: 25%;
height: 155px;
float:left;
}
.gplus {
width: 25%;
height: 155px;
float:left;
}
.
}
我试图增加字体看起来更大的手机屏幕上有没有影响。我也尝试添加<br>
标签来分隔这个句子,但文字在手机上仍然很小。
可以向我们提供您的代码。 – Nadim