html
html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<html>
<head>
<title>My Portfolio</title>
</head>
<body>
<div class="con">
<iframe src="https://ashutosh-agrawal.netlify.app">
</iframe>
</div>
</body>
</html>
css
css
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
body {
margin: 0;
}
.con
{
height:155vw;
width:100%;
position:absolute;
margin:auto;
top:0;
bottom:0;
left:0;
right:0;
display: flex;
justify-content: center;
align-items: center;
}
iframe
{
height:100vh;
width:100vw;
border:none;
}
js
js
1
2
3
console.log = function() { }
alert("Dont forget to upvote and star on Github \nCode:https://github.com/AshutoshAgrawal2004/My-Portfolio")
BROWSER
Console
Run