HTML/CSS Fitting object/everything on any window size/resolution - html

So, my friend and I are working on a mod for a game called Minecraft and I had the duty to make a website where we publish this mod and tell every one what this mod is about.
The problem that I'm currently facing is that I can't get my objects to shrink/grow to fit any browser resolution/window resolution. Currently, I have it so it is formatted to my screen resolution (1920 x 1080) and it seems to be fine, but when I make the window smaller, I have to use the horizontal scrolling bar to get to different areas on the html page.
When I shrink the window, I want it to fit that window.
Same goes with screen monitors. If it isn't my screen resolution, you have to use the horizontal scrolling bar.
How do I make it so my page objects will change size depending on window size/resolution size?
Code:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"</meta>
<meta name="msapplication-TileColor" content="#FFFFFF">
<meta name="msapplication-TileImage" content="MOPM-ico/favicon-144.png">
<meta name="msapplication-config" content="MOPM-ico/browserconfig.xml">
<link rel="shortcut icon" href="MOPM-ico/favicon.ico">
<link rel="icon" sizes="16x16 32x32 64x64" href="MOPM-ico/favicon.ico">
<link rel="icon" type="image/png" sizes="310x310" href="MOPM-ico/favicon-310.png">
<link rel="icon" type="image/png" sizes="196x196" href="MOPM-ico/favicon-196.png">
<link rel="icon" type="image/png" sizes="160x160" href="MOPM-ico/favicon-160.png">
<link rel="icon" type="image/png" sizes="96x96" href="MOPM-ico/favicon-96.png">
<link rel="icon" type="image/png" sizes="64x64" href="MOPM-ico/favicon-64.png">
<link rel="icon" type="image/png" sizes="32x32" href="MOPM-ico/favicon-32.png">
<link rel="icon" type="image/png" sizes="16x16" href="MOPM-ico/favicon-16.png">
<link rel="apple-touch-icon" sizes="152x152" href="MOPM-ico/favicon-152.png">
<link rel="apple-touch-icon" sizes="144x144" href="MOPM-ico/favicon-144.png">
<link rel="apple-touch-icon" sizes="120x120" href="MOPM-ico/favicon-120.png">
<link rel="apple-touch-icon" sizes="114x114" href="MOPM-ico/favicon-114.png">
<link rel="apple-touch-icon" sizes="76x76" href="MOPM-ico/favicon-76.png">
<link rel="apple-touch-icon" sizes="72x72" href="MOPM-ico/favicon-72.png">
<link rel="apple-touch-icon" href="MOPM-ico/favicon-57.png">
<link type="text/css" rel="stylesheet" href="styles.css" />
<title>
MOPM~
</title>
</head>
<body>
<header>
<!--header-->
<div class="topHead">
<img id="headertxt" src="pictures/header.png" width="1919px" height="120px"/>
</div>
<!--header buttons-->
<div class="headButtonSeperator">
<div class="headButton">home</div>
<div class="headButton">about</div>
<div class="headButton">mod info</div>
<div class="headButton">downloads</div>
<div class="headButton">videos</div>
<div class="headButton">links</div>
<div class="headButton">dev team</div>
</div>
</header>
<!--content-->
<div id="home">
</div>
</body>
</html>
CSS:
body
{
background-image: url('pictures/background.png');
}
/*--Classes--*/
.topHead
{
width: 1919px;
height: 120px;
background-color: #272B30;
float: middle;
position: absolute;
margin: auto;
top: 0px;
left: 0px;
right: 0px;
display: block;
border-bottom: 4px dashed #1EC20B;
}
.headButtonSeperator
{
width: 980px;
height: 40px;
background-color: none;
position: absolute;
top: 125px;
left: 509px;
}
.headButton
{
width: 120px;
height: 10px;
background-color: #313A3D;
margin-left: 5px;
display: inline-block;
float: left;
font-size: 0px;
border-left: 3px solid #282E30;
border-bottom: 3px solid #282E30;
border-bottom-left-radius: 20px;
}
.headButton:hover
{
width: 140px;
height: 35px;
background-color: #313A3D;
margin-left: 10px;
position: relative;
display: inline-block;
color: #DB481B;
font-size: 20px;
text-align: center;
line-height: 35px;
font-family: minecraft;
text-shadow: 2px 2px #7A5E55;
border-left: 3px solid #282E30;
border-bottom: 3px solid #282E30;
border-bottom-left-radius: 20px;
}
/*--ID's--*/
#home
{
display: block;
width: 918px;
height: 1000px;
background-color: white;
position: absolute;
top: 500px;
left: 500px;
float: middle;
z-index: -1;
}
/*--Fonts--*/
#font-face
{
font-family: minecraft;
src: url(fonts/minecraft.ttf);
}
#font-face
{
font-family: McBold;
src: url(fonts/ARCADEPI.ttf);
}
#font-face
{
font-family: McBlock;
src: url(fonts/Square.ttf);
}
#font-face
{
font-family: MccBlock;
src: url(fonts/Squareo.ttf);
}
Edit:
I am not getting any answers and I really want to get this done so I can work on the other aspects of the page.
Do I need to use percentages?
What am I doing wrong that wont make it position according to resolution/window size?
Edit:
So I understand now that I have to make my page responsive by not using px
How exactly do I make it responsive and what measurements can I use?
Edit:
I did a little bit of testing with percentages and it didn't seem to work.
In this picture, i am testing the head banners width with a width: 100%
I made the window smaller and the top wording (which is an image) doesn't
shrink down to the size of the window.
http://prntscr.com/47v2ub <---image
Edit:
Update on the above edit:
I figured out that i had to make >.topHead also have a >width: 100
The problem i am facing now is that if the browser gets too small, all of my buttons bunch up

To make a page responsive you need to keep two things in mind:
Don't use fixed quantities for width and other dimensions on your page (like px).
If you do, control things with Media Queries which let you change the styles on your page according to the changes in the screen size.
See More

Related

Responsive HTML not showing on iPhone but showing in Chrome developer tools and Safari Mobile, yes i have viewport

really new user, hope I'm posting this right.
I'm trying to get responsive HTML to work on my phone, but I'm running into really strange problems. The responsive html on my page doesn't seem to be working. Even stranger, I copied the page and the issues on that page are different, even though the code should be identical.
I am working on
http://www.nokillshelter.net/final.html
http://www.nokillshelter.net/finalfinal.html
Both should be the same code but both are not picking up the responsive CSS properly. I'd post code, but its very long at this point. Any help would be greatly appreciated.
<!DOCTYPE html>
<html lang="en-us" class="no-js">
<head>
<meta charset="utf-8">
<title>NoKillShelter Music</title>
<meta name="description"
content="NoKillShelter Music">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- ================4avicons ================== -->
<!-- Standard -->
<link rel="shortcut icon" href="img/favicon.png">
<!-- Retina iPad Touch Icon-->
<link rel="apple-touch-icon" sizes="144x144" href="img/favicon-retina-ipad.png">
<!-- Retina iPhone Touch Icon-->
<link rel="apple-touch-icon" sizes="114x114" href="img/favicon-retina-iphone.png">
<!-- Standard iPad Touch Icon-->
<link rel="apple-touch-icon" sizes="72x72" href="img/favicon-standard-ipad.png">
<!-- Standard iPhone Touch Icon-->
<link rel="apple-touch-icon" sizes="57x57" href="img/favicon-standard-iphone.png">
<!-- ============== Resources style ============== -->
<link rel="stylesheet" type="text/css" href="css/style-multi-scrollnew.css"/>
</head>
<body>
<div id="thelist">
<h5>NoKillShelter Releases</h5>
<br><img id="movinglogo" src="/img/LogoNKS-Imma.gif">
<div id="songs">
<a id="Longshot" href="https://awal.lnk.to/vmjynlm">
<span>Longshot</span>
</a>
<br><a id="Sweetheart" href="https://awal.lnk.to/NoKillShelter-Sweetheart"><span>Sweetheart</span>
</a>
<br><a id="FairyQuing" href="https://awal.ffm.to/mxnkqxq">
<span>FairyQuing</span>
</a>
<br><a id="JustSeeTheCoast" href="https://awal.lnk.to/JustSeetheCoast">
<span>Just See The Coast</span>
</a>
<br><a id="BalancedLove" href="https://awal.lnk.to/BalancedLove">
<span>Balanced Love</span></a>
</div>
CSS
/* Small Devices, Tablets #media only screen and (max-width: 768px) */
#media only screen and (max-width: 768px) {
h1 {
font-size: 5.5rem;
}
#thelist {
top: 69px;
font-size: 20px;
}
h5 {
font-size: 2.5rem;
}
#movinglogo {
max-width: 17%;
top: 55px;
left: -5px;
position: absolute;
}
button {
white-space: nowrap
}
.album {
margin-left: 0%;
}
#info .content {
padding: 0 5%;
}
.block-team img.team-member {
width: 100%;
}
}
/* Extra Small Devices, Phones #media only screen and (max-width: 480px) */
#media only screen and (max-width: 480px) {
.album {
margin-left: 0%;
}
h1 {
font-size: 5.5rem;
}
#thelist {
top: 69px;
font-size: 20px;
}
#thelist button {
whitespace: inherit;
button-width: 200px;
font-size: 12px;
}
#movinglogo {
max-width: 17%;
top: 55px;
left: -5px;
position: absolute;
}

How do I change the color of text when scrolling?

I am working on a menu for my HTML class, at school, and I was trying to figure out how I could make it so my h1 and h2 text change to the color white when they reach the top of the page, which with the background image, is dark at the top. Below is my code. The h1 and h2 tags are the only ones I want to have change.
/*
$(document).ready(function() {
$(window).scroll(function() {
var light_pos = $('#white_div').offset().top;
var light_height = $('#white_div').height();
var menu_pos = $('.NavigationButton').offset().top;
var menu_height = $('.NavigationButton').height();
var scroll = $(window).scrollTop();
console.log('light', light_pos);
console.log('menu', menu_pos);
console.log('scroll', scroll);
if (menu_pos > light_pos && menu_pos < (light_pos + light_height)) {
$('.NavigationButton').addClass('menu_black');
$('.NavigationButton').removeClass('menu_white');
} else {
$('.NavigationButton').removeClass('menu_black');
$('.NavigationButton').addClass('menu_white');
}
})
})
*/
h1 {
font-family: 'Caveat', cursive;
margin-bottom: 100px;
border: 4px;
margin: 100px;
padding: 50px;
width: 300px;
}
b {
font-family: 'Nothing You Could Do', cursive;
}
h2 {
font-family: 'Nothing You Could Do', cursive;
font-size: 40px;
}
h3 {
font-family: 'Homemade Apple', cursive;
}
div {
border: 4px solid black;
margin: 100px;
padding: 50px;
width: 300px;
background: rgba(255, 255, 255, 0.3)
}
sup {
font-family: Verderna, Helvetica, sans-serif;
}
.NavigationButton {
position: fixed;
top: 5%;
right: 5%;
z-index: 99999;
font-weight: 700;
color: inherit;
}
.menu_white {
color: #fff;
}
.menu_black {
color: #000;
}
body {
background-image: url('https://bestanimations.com/media/beverages/405618319drink-animated-gif-16.gif');
/*Image sorce*/
background-repeat: no-repeat;
/*If changed to "repeat", image will repeat*/
background-attachment: fixed;
/*Does your image stay in one spot, or does it move as you scroll?*/
background-size: cover;
/*The resolution of the image*/
}
<title>Big Surf Island: Beverages Menu</title>
<link href="/style.css" rel="stylesheet" type="text/css" media="all">
<!--Below is all the code for the fonts that I've used. All custom fonts used came from Google Fonts. [fonts.google.com]-->
<link rel="shortcut icon" type="image/png" href="2021_04_06_0fb_Kleki.png">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Caveat:wght#500&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Nothing+You+Could+Do&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Nothing+You+Could+Do&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Homemade+Apple&display=swap" rel="stylesheet">
<!--Background image for website -->
<h2 style='color:white'>Pick a drink, any drink!</h2>
<h1>Non-Alchoholic drinks</h1>
<!--1st Menu Item-->
<div>
<h3>Fountain Drinks--------------------1.99</h3>
<b>Choose any of our fountain drink, in any flavor you want!
<img height=132px; width=320px; src="https://img1.mashed.com/img/gallery/why-fountain-drinks-taste-different/intro-1588447053.jpg"></b>
</div>
<!--2nd Menu Item-->
<div>
<h3>Iced Tea, Tea, & Coffee 2.95</h3>
<b>Pick your choice of cold or hot tea, any flavor, or coffee, made just the way you like it.
<img height=140.625px; width=250px; src="https://imagesvc.meredithcorp.io/v3/mm/image?url=https%3A%2F%2Fstatic.onecms.io%2Fwp-content%2Fuploads%2Fsites%2F12%2F2020%2F05%2F11%2Fcoffee-tea-GettyImages-930798200.jpg&q=85"></b>
</div>
<!--3rd Menu Item-->
<h1>Drinks only for Mom and Dad<br> (Valid ID must be presented to<br> waitor / waitress to show you<br> are older than 21)</h1>
<div>
<h3>Beer and Wine---------------5.99</h3>
<b>Choose your poison, but don't overdo it.
<!--Look I just copied the image link.-->
<img height=208px; width=282px; src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAoHCBUVFBgVFRUYGBgZHBsZGhsaGBoaGxobGhobGRkaGhobIC0kGyApIBoYJTclKS4wNDQ0GyM5PzkyPi0yNDABCwsLEA8QHhISHjApIykwNTQyMjYyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMv/AABEIALcBEwMBIgACEQEDEQH/xAAcAAACAgMBAQAAAAAAAAAAAAAGBwQFAAIDAQj/xABEEAACAQIEAwQHBQUHAwUBAAABAgMAEQQFEiEGMUETIlFhB3GBkaGxwRQyQmLRI1Jy4fAzU4KSorLxFSXCFiQ0Y3MX/8QAGgEAAwEBAQEAAAAAAAAAAAAAAQIDBAAFBv/EACsRAAICAgIBAwMDBQEAAAAAAAABAhEDIRIxQQRRYRNxkSIyoRQ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
<!--Link back to menu homepage-->
</body>
</html>

Aligning an SVG element to the left hand side of page

I've started tooling around with SVG and it is going good.
I am trying working the alignment of the image to the up corner of the left-hand side, however, I just could not make it well. I want to show a quarter of the circle on the front page.
I've set something up by margin, right and top but the effect is not for what I want. The SVG moves a little to the left-hand side of the page only still far away. (image below).
Guys- I am trying hard but if anyone could any resources or support then it would be highly appreciated.
The first image that I attached is what I made, but the second image is what I want to align.
Thank you
.topcon {
background-color: #f6f5f5;
position: relative;
width: 200px;
height:250px;
border: 15px;
padding: 50px;
margin: 150px auto 150px auto;
border-radius: 20px;
}
.top-circle
{
position: absolute;
right: 700px;
top: 40px;
margin: -200px auto -200px autp;
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- displays site properly based on user's device -->
<link rel="stylesheet"href="css/styles.css">
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<title>Frontend Mentor | Profile card component</title>
<style>
.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }
body {
background-color: #00B6C7;
width: 1440px;
}
</style>
</head>
<img class="top-circle"src="images/bg-pattern-top.svg" alt="big circle on top">
<body>
<div class="topcon">
<h1>This is for what I made</h1>
<h1>I want the circle could go up and only show quarter of the circle</h1>
Victor Crest
26
London
80K
Followers
803K
Likes
1.4K
Photos
</body>
</html>
enter image description here
enter image description here

edge is not displaying background color on a:link

https://fivosm.github.io/ tested on ie, firefox, chrome works fine, the a:link's background is red. In edge though the background is not red until I hover over it.
I don't know where to start, my google searches don't show anything related to my problem.
Here is my pastebin link, just in case the formatting is messed up again
<!DOCTYPE html>
<html>
<head>
<link rel="apple-touch-icon-precomposed" sizes="57x57" href="favicons/apple-touch-icon-57x57.png" /><link rel="apple-touch-icon-precomposed" sizes="114x114" href="favicons/apple-touch-icon-114x114.png" /><link rel="apple-touch-icon-precomposed" sizes="72x72" href="favicons/apple-touch-icon-72x72.png" /><link rel="apple-touch-icon-precomposed" sizes="144x144" href="favicons/apple-touch-icon-144x144.png" /><link rel="apple-touch-icon-precomposed" sizes="60x60" href="favicons/apple-touch-icon-60x60.png" /><link rel="apple-touch-icon-precomposed" sizes="120x120" href="favicons/apple-touch-icon-120x120.png" /><link rel="apple-touch-icon-precomposed" sizes="76x76" href="favicons/apple-touch-icon-76x76.png" /><link rel="apple-touch-icon-precomposed" sizes="152x152" href="favicons/apple-touch-icon-152x152.png" /><link rel="icon" type="image/png" href="favicons/favicon-196x196.png" sizes="196x196" /><link rel="icon" type="image/png" href="favicons/favicon-96x96.png" sizes="96x96" /><link rel="icon" type="image/png" href="favicons/favicon-32x32.png" sizes="32x32" /><link rel="icon" type="image/png" href="favicons/favicon-16x16.png" sizes="16x16" /><link rel="icon" type="image/png" href="favicons/favicon-128.png" sizes="128x128" /><meta name="application-name" content=" "/><meta name="msapplication-TileColor" content="#FFFFFF" /><meta name="msapplication-TileImage" content="favicons/mstile-144x144.png" /><meta name="msapplication-square70x70logo" content="favicons/mstile-70x70.png" /><meta name="msapplication-square150x150logo" content="favicons/mstile-150x150.png" /><meta name="msapplication-wide310x150logo" content="favicons/mstile-310x150.png" /><meta name="msapplication-square310x310logo" content="favicons/mstile-310x310.png" />
<meta name="description" content="All of my projects are stored here" />
<title>FivosM Projects</title>
<link rel="stylesheet" href="animate.css">
<style>
body {
backgroundColor = "#f5f5f5";
font-family: sans-serif;
text-align: center;
text-align: center;
-webkit-font-smoothing: antialiased;
}
.background{
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
background-repeat: no-repeat;
}
div {
border-radius: 25px;
width: 270px;
height: 370px;
display: inline-block;
white-space: normal;
box-shadow: 0px 0px 6px #828282;
}
h1 {
text-shadow: 2px 2px 10px #d3d3d3;
}
small {
font-size: smaller;
}
.transparent{
background:rgba(255,255,255,0.9);
}
a:link {
background-color: #f44336;
color: white;
padding: 3px 6px;
text-align: center;
text-decoration: none;
display: inline-block;
}
a:visited {
background-color: #7b77ff;
color: white;
padding: 3px 6px;
text-align: center;
text-decoration: none;
display: inline-block;
}
a:hover, a:active{
background-color: red;
}
a:disabled, a[disabled]{
color: black;
background: rgb(255, 255, 255);
background: rgba(0, 0, 0, 0);
text-decoration: underline;
}
</style>
</head>
<script type="text/javascript">
function changebackground() {
document.body.style.backgroundColor = "#f5f5f5";
var viewport_w = Math.max(document.documentElement.clientWidth, window.innerWidth || 0);
var viewport_h = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);
var geturl = "url(https://source.unsplash.com/category/nature/" + viewport_w + "x" + viewport_h + ")";
document.body.style.backgroundImage = geturl;
}
</script>
<body class="background" onload="changebackground();">
<div class = "body animated bounceInDown transparent">
<h1>My Projects: </h1>
<h3> Software: </h3>
<p><b>Pinger:</b> Download Github </p>
<h3> Games: </h3>
<p><b>HellBlocks:</b> Itch.io page </p>
<h3> Websites: </h3>
<p><b>This website:</b> <a href="https://fivosm.github.io" target="_blank" > fivosm.github.io </a></p>
<p><small><a href="https://github.com/FivosM" target="_blank"
disabled="true"> Github </a> | <a href="https://fivosm.itch.io/" target="_blank"
disabled="true"> Itch.io </a> </small></p>
</div>
</body>
</html>
Define the background for a. Also you have a:visited style setting the background color to #7b77ff. Remove that if you don't need it for a link button styling.
a{
background-color: #f44336;
...
}
a:visited {
background-color: #7b77ff;
}
On my end, the background of all your buttons work fine (see: they all display with red background) in Chrome, FireFox, and Edge, anyway...
You don't appear to have defined
a {
background-color: #f44336;
}
Instead, you're using :link and :visited
Is it possible that you've already used the link in Edge, and it is using the background-color you have set for :visited? If you'd like for them to not change, remove the background-color within your :visited css
Looks like edge does not like text shadows with more than 4px blur.
Replacing this :
.shadow {
text-shadow: 2px 2px 10px #d3d3d3;
}
With this :
.shadow {
text-shadow: 2px 2px 4px #d3d3d3;
}
Fixed everything.
Thanks.

Links disabled in internet explorer

Seems a very strange problem to me, but the links on this site (www.dartsocialmedia.co.uk/bird) are disabled in internet explorer. It seems to work fine on all the other browsers I've tested. The problem seems to be that internet explorer doesn't recognise them as links.
Any ideas what the problem is?
Edit: also, form inputs are not recognised as such.
Here's the HTML header:
<!DOCTYPE html>
<html>
<head>
<title>bird</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap -->
<link href="http://www.dartsocialmedia.co.uk/bird/wp-content/themes/birdtheme/css/bootstrap.css" rel="stylesheet" media="screen">
<link href="http://www.dartsocialmedia.co.uk/bird/wp-content/themes/birdtheme/css/bootstrap-responsive.css" rel="stylesheet" media="screen">
<link href="http://www.dartsocialmedia.co.uk/bird/wp-content/themes/birdtheme/style.css" rel="stylesheet">
<link href="http://www.dartsocialmedia.co.uk/bird/wp-content/themes/birdtheme/css/font-awesome.min.css" rel="stylesheet">
<link href="http://www.dartsocialmedia.co.uk/bird/wp-content/themes/birdtheme/css/custom-responsive.css" rel="stylesheet">
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300,400,700' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Josefin+Sans:300,400,600,700' rel='stylesheet' type='text/css'>
<link rel="icon" type="image/ico" href="http://www.dartsocialmedia.co.uk/bird/wp-content/themes/birdtheme/img/favicon.ico">
<meta name='robots' content='noindex,nofollow' />
<link rel='stylesheet' id='admin-bar-css' href='http://www.dartsocialmedia.co.uk/bird/wp-includes/css/admin-bar.min.css?ver=3.5.2' type='text/css' media='all' />
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.dartsocialmedia.co.uk/bird/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://www.dartsocialmedia.co.uk/bird/wp-includes/wlwmanifest.xml" />
<meta name="generator" content="WordPress 3.5.2" />
<style type="text/css" media="print">#wpadminbar { display:none; }</style>
<style type="text/css" media="screen">
html { margin-top: 28px !important; }
* html body { margin-top: 28px !important; }
</style>
</head>
It seams that z-index: 999 in your css file at line 5 cause the problem.
I suggest you change your CSS bacause body:before overlap the whole window:
1) Implements the border into the body element, add:
body {
border: 5px solid #dd127b;
width: auto;
margin: 10px;
}
2) Use the body:before to place the top border with fixed position to hide overflow when scrolling:
body:before {
border-bottom: 5px solid #dd127b;
display: block;
content: '';
position: fixed;
top: 0;
left: 10px;
right: 10px;
background: #111;
padding-top: 10px;
z-index: 999;
}
3) Use the body:after to place the bottom border:
body:after {
border-top: 5px solid #dd127b;
display: block;
content: '';
position: fixed;
bottom: 0;
left: 10px;
right: 10px;
background: #111;
padding-bottom: 10px;
z-index: 999;
}