"website responsive tester"
Bootstrap 3.0.0 Snippet by Pawan Singhania

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<div class="col-sm-12 view">
<div class="main">
<div class="col-sm-5 top-wel">Test Your Responsive Website !!</div>
<div class="col-sm-2 box">
<div class="col-sm-2 device" onclick="a()"><i class="fa fa-desktop" style="font-size:20px;"></i></div>
<div class="col-sm-2 device" onclick="b()"><i class="fa fa-tablet" style="font-size:20px; -webkit-transform:rotate(90deg);"></i></div>
<div class="col-sm-2 device" onclick="c()"><i class="fa fa-tablet" style="font-size:20px;"></i></div>
<div class="col-sm-2 device" onclick="d()"><i class="fa fa-mobile" style="font-size:20px; -webkit-transform:rotate(90deg);"></i></div>
<div class="col-sm-2 device" onclick="e()"><i class="fa fa-mobile" style="font-size:20px;"></i></div>
</div>
<div class="col-sm-4 box">·</div>
<div class="col-sm-1 check" onclick="a()">auto ···········
<div class="col-sm-12 check-in" style="margin-top:20px;" onmouseover="f()">280 px</div>
<div class="col-sm-12 check-in" onmouseover="g()">320 px</div>
<div class="col-sm-12 check-in" onmouseover="e()">480 px</div>
<div class="col-sm-12 check-in" onmouseover="i()">568 px</div>
<div class="col-sm-12 check-in" onmouseover="j()">768 px</div>
<div class="col-sm-12 check-in" onmouseover="k()">1024 px</div>
<div class="col-sm-12 check-in" onmouseover="l()">1190 px</div>
<div class="col-sm-12 check-in" onmouseover="m()">1300 px</div>
</div>
</div>
</div><iframe src="YOUR OFFLINE URL HERE" height="100%" id="respons" class="site"></iframe>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
body
{
margin:0;
padding:0 0 0 0;
background:-webkit-radial-gradient(circle , #3d3d3d , #000);
overflow: hidden;
height: 100%;
}
.main
{
margin: auto;
padding: 0;
width: 97%;
}
.box
{
margin: 0;
padding: 0;
}
.view
{
margin: 0;
padding: 6px;
background-color: #2a2a2a;
position: fixed;
height: 43px;
}
.check
{
margin: 2px 0 0 0;
padding: 5px 5px 5px 10px;
background-color:#2a2a2a;
font-family: "arial";
font-size: 14px;
text-transform: capitalize;
outline:1px solid #000;
border: 1px solid #474747;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
function a(){
document.getElementById("respons").style.width ="100%";
document.getElementById("respons").style.margin ="43px 0 0 0";
document.getElementById("respons").style.height ="619px";
document.getElementById("respons").style.overflowY ="auto";
}
function b(){
document.getElementById("respons").style.width ="1265px";
document.getElementById("respons").style.margin ="80px 0 30px 4%";
document.getElementById("respons").style.height ="530px";
document.getElementById("respons").style.overflowY ="scroll";
}
function c(){
document.getElementById("respons").style.width ="795px";
document.getElementById("respons").style.margin ="80px 0 30px 20%";
document.getElementById("respons").style.height ="550px";
document.getElementById("respons").style.overflowY ="scroll";
}
function d(){
document.getElementById("respons").style.width ="660px";
document.getElementById("respons").style.margin ="170px 0 30px 25%";
document.getElementById("respons").style.height ="350px";
document.getElementById("respons").style.overflowY ="scroll";
}
function e(){
document.getElementById("respons").style.width ="400px";
document.getElementById("respons").style.margin ="90px 0 30px 35%";
document.getElementById("respons").style.height ="500px";
document.getElementById("respons").style.overflowY ="scroll";
}
function f(){
document.getElementById("respons").style.width ="280px";
document.getElementById("respons").style.margin ="90px 0 30px 39%";
document.getElementById("respons").style.height ="500px";
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: