How to set up divs to produce a column layout [closed] - html

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 days ago.
Improve this question
Here is my problem:
I need this:
Code of this:
.vacantions {
display: flex;
height: 257px;
justify-content: space-between;
align-items: center;
}
.vacantion-text {
max-width: 508px;
display: flex;
flex-direction: column;
}
.vacantion-title {
margin-top: 50px;
font-weight: 700;
font-size: 39px;
line-height: 1.2;
}
.vacantion-text p {
font-weight: 600;
font-size: 18px;
line-height: 1.55;
}
.vacantion-name {
display: flex;
float: right;
align-items: center;
}
<div class="vacantions">
<div class="vacantion-text">
<h1 class="vacantion-title">Nulla ut ea</h1>
<p>Reprehenderit esse labore id veniam ut veniam non ex adipisicing amet ullamco dolor proident. Exercitation velit ea incididunt</p>
</div>
<div class="vacantion-name">
<div class="vac-list">
<ul>
<li>Graphic Desing</li>
<li>UX Desing</li>
<li>Prototyping</li>
<li>Webflow</li>
</ul>
</div>
<div class="vac-list">
<ul>
<li>Branding</li>
<li>Coding</li>
<li>Back-End</li>
</ul>
</div>
</div>
</div>

Related

Is there a way to make icon from difference source have the same size?

I have a three container.Each container have Icon,Heading and Paragraph.But I use the icon from difference source.Fist icon(Branding) is from google and other remaining icon(Desktop,Mobile) is from fontawesome.The problem is first icon is not have equal size with the 2 remaining icon and this make the heading and paragraph of Branding item not display in the same line with heading and paragraph of the remaing item.I try to fix it by put first icon in the container and adjust it's position but it's not working.Is there a way to make all of icon have the same size?
Picture
First icon in container
<div class="i-container">
<i class="material-icons" id="Branding">menu_book</i>
</div>
.work-container{
width:1200px;
border: 1px solid green;
display: flex;
}
.box{
border:1px solid #c59a6d;
height:430px;
width: 30%;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.box i{
margin-top: 80px;
margin-bottom: 24px;
}
.i-container{
height: 180px;
display: flex;
justify-content: center;
position: relative;
}
.i-container i{
font-size: 120px;
position: absolute;
top: -28px;
}
/*
.box i.material-icons{
color:blue;
font-size: 100px;
margin-top:60px;
margin-bottom: 20px;
}*/
.box h2{
margin-bottom: 30px;
font-size: 20px;
line-height: 36px;
font-weight: 400;
}
.box p{
font-size: 18px;
line-height: 36px;
font-weight: 400;
width: 300px;
text-align:center;
float: left;
word-break: break-all;
}
<head>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<script src="https://kit.fontawesome.com/a022b2977b.js" crossorigin="anonymous"></script>
</head>
<body>
<div class="work-container">
<div class ="box">
<div class="i-container">
<i class="material-icons" id="Branding">menu_book</i>
</div>
<h2>BRANDING</h2>
<p>
Accusamus et iusto odio dignissimos ducimus
qui blanditiis praesentium voluptatum.
</p>
</div>
<div class ="box">
<i class="fa-solid fa-desktop" style="font-size: 85px;"></i>
<h2>DESKTOP</h2>
<p>
Accusamus et iusto odio dignissimos ducimus
qui blanditiis praesentium voluptatum.
</p>
</div>
<div class ="box">
<i class="fa-solid fa-mobile-screen" style="font-size: 85px;"></i>
<h2>MOBILE</h2>
<p>
Accusamus et iusto odio dignissimos ducimus
qui blanditiis praesentium voluptatum.
</p>
</div>
</div>
</body>
One way to get things aligned is to put them into a grid.
In this case each box can be a single column grid with three rows, the first with the icon, the second with the heading and the third with the p element.
Removing all the use of px units for positioning (margins) and instead letting the system work things out also makes the whole more responsive.
An addition here has been to remove the fixed with of the whole thing (but of course put it back if it's essential to your use case!) and to make the overall flexed with a gap so it's more responsive.
<head>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<script src="https://kit.fontawesome.com/a022b2977b.js" crossorigin="anonymous"></script>
<style>
.work-container {
width: 100vw;
border: 1px solid green;
display: flex;
gap: 2vw;
}
.box {
border: 1px solid #c59a6d;
height: 430px;
display: grid;
grid-template-columns: 1fr;
grid-template-rows: 3fr 1fr 5fr;
}
.box>* {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.box>p {
align-items: start;
justify-content: left;
}
.box i {
width: 100%;
}
.i-container {
display: flex;
justify-content: center;
text-align: center;
}
.i-container i {
font-size: 120px;
}
.box h2 {
font-size: 20px;
line-height: 36px;
font-weight: 400;
}
.box p {
font-size: 18px;
line-height: 36px;
font-weight: 400;
word-break: break-all;
}
i.fa-solid,
.i-container {
height: 100%;
}
</style>
</head>
<body>
<div class="work-container">
<div class="box">
<div class="i-container">
<i class="material-icons" id="Branding">menu_book</i>
</div>
<h2>BRANDING</h2>
<p>
Accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum.
</p>
</div>
<div class="box">
<i class="fa-solid fa-desktop" style="font-size: 85px;"></i>
<h2>DESKTOP</h2>
<p>
Accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum.
</p>
</div>
<div class="box">
<i class="fa-solid fa-mobile-screen" style="font-size: 85px;"></i>
<h2>MOBILE</h2>
<p>
Accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum.
</p>
</div>
</div>
</body>
You may want to change the proportions of the grid (currently 3fr, 1fr, 5fr) to give the icon or text more or less space.

Im using bootstrap but still not flex

here is my index.html:
<div id="container1" class="py-0 my-0">
<div id="left" class="col-md-6">
<img class="image" src="C:\Users\asus\Desktop\project\image.png">
</div>
<div id="right" class="col-md-6">
<nav class="navbar navbar-expand-lg">
<ul class="navbar-nav ml-auto">
<li class="nav-index">
HOME
</li>
<li class="nav-index">
ABOUT US
</li>
<li class="nav-index">
COURSES
</li>
<li class="nav-index">
LOG IN
</li>
</ul>
</nav>
<br>
<br>
<br>
<br>
<br>
<p class="paragraph col-md-6">
<h3 class="Welcome text-center">Welcome to mobile legends!</h3>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>
<br>
<br>
<footer class="footer1" id="footer1">
<h6>Contact the developer:</h6>
<p>luckyllemos0909#gmail.com</p>
</footer>
</div>
</div>
here is my style.css:
*{
box-sizing: border-box;
margin: 0;
padding: 0;
}
html, body{
width: 100%;
height: 100%;
padding: 0;
margin: 0;
align-items: center;
vertical-align: middle;
}
#container1{
width: 100%;
height: 100%;
vertical-align: middle;
display: flex;
align-items: center;
}
#left,
#right {
width: 50%;
height: 100%;
}
#left {
background: #ffd6dd;
align-items: center;
}
.image{
margin-top: 50px;
margin-left: -10px;
padding: 100px;
}
#right {
background: #FBAED2;
align-items: center;
}
.paragraph{
color: red;
margin: 50px;
}
.fa {
margin-top: none;
padding: 20px;
font-size: 20px;
width: 30px;
text-align: center;
text-decoration: none;
margin: 5px 2px;
}
.fa:hover {
opacity: 0.7;
}
.fa-facebook {
color: #000000;
}
.fa-linkedin {
color: #000000;
}
.fa-youtube {
color: #000000;
}
.Welcome{
margin-left:60px;
}
.nav-link{
color: #000000;
}
.nav-index{
padding-left: 30px;
padding-right: 30px;
align-items: center;
}
my problem is when i put it in mobile phone it does not go flexible.
This is the original output:
and This what happens when try to look on mobile screen:
What you're looking for is media queries, which let you decide how your website looks on varying screen sizes. In the example below in the css class example is first shown how it would look on a larger screen size, then below with the media query in effect you can stylize how your page would look on a (in this example) a screen with a width of less than 900px. Take a look at the link below for further explanation.
.example {
font-family: "Droid+Sans";
font-weight: normal;
color: #ffffff ;
font-size: 7rem;
position: absolute;
top: 17%;
width: 100%;
}
#media screen and (max-width: 900px){
.example {
font-size: 3.5rem;
margin: auto;
width: 50%;
left: 20%;
right: 20%;
padding-bottom: 100px;
}
}
https://www.w3schools.com/css/css_rwd_mediaqueries.asp
Use Bootstrap Utility Classes in a better way. Since you are using bootstrap simply add your classes to work for different break points.
Add col-12 Utility classes on the following elements: Note that Bootstrap follows mobile-first approach.
<div id="left" class="col-12 col-md-6">
And
<div id="right" class="col-12 col-md-6">

How to align header items with HTML and SCSS

I'd like to align the h1 element with the nav element in the header. Right now they appear in two different lines.
fiddle
header {
background-color: #F4C724;
color: white;
text-transform: uppercase;
width: 100%;
align-items: center;
}
Change your .header ul and nav css property with flexbox.
header {
align-items: center;
background-color: #F4C724;
display: flex;
flex-direction: row;
color: white;
text-transform: uppercase;
width: 100%;
#media (max-width: 767px){
flex-direction: column;
}
}
ul {
display: flex;
flex-directon: row;
justify-content: flex-end;
margin: 0;
li {
display: inline-block;
/*remove browser default settings with 0 for both margin and padding*/
&:not(:last-child){
margin-right: 25px;
}
}
}
nav {
margin-left: auto;
padding-right: 15px;
}
Design will like this.
SCSS is modifyed.
* {
margin: 0;
padding: 0;
//i don't want the default margin and padding settings because it messes with the position of things
}
header {
align-items: center;
background-color: #F4C724;
display: flex;
flex-direction: row;
color: white;
text-transform: uppercase;
width: 100%;
#media (max-width: 767px){
flex-direction: column;
}
}
h2 {
color: black;
margin-bottom: 20px;
}
body {
background-image: url("../img/growing.jpeg");
background-repeat: no-repeat;
background-size: cover;
//you have to include two dots so the machine looks for the file outside of the css file
//it doesn't repeat the img over and over again as the body content extends
//background-size will size the img to the screen appropropriately
}
ul {
display: flex;
flex-directon: row;
justify-content: flex-end;
margin: 0;
li {
display: inline-block;
/*remove browser default settings with 0 for both margin and padding*/
&:not(:last-child){
margin-right: 25px;
}
}
}
nav {
margin-left: auto;
padding-right: 15px;
}
h1 {
font-family: 'Teko', sans-serif;
color: white;
border: none;
width: 32%;
text-align: center;
span {
color: #218c74;
}
}
.nav-link {
text-decoration: none;
color: #218c74;
font-weight: bolder;
font-size: 12px;
&:hover {
color: white;
}
}
.hero {
text-align: center;
width: 50%;
color: black;
padding: 20px;
p {
text-align: justify;
//justify reorders all the text to fit in the box evenly
}
}
There were few things you need to modify so I did behalf of you:
View it in full page for the correct alignment.
Observations:
You don't have to declare code like this:
ul {
li {
display: inline-block;
margin-right: 60px;
}
}
It should be something like this:
ul li {
display: inline-block;
margin-right: 60px;
}
The reason it was in 2 lines because both the h1 size and the nav bar width were congested so, you have to increase the width of the h1.
I also see there were wrong comments used in CSS file use a correct one, ideally you should use something like this /* .... */
* {
margin: 0;
padding: 0;
}
header {
background-color: #F4C724;
color: white;
text-transform: uppercase;
width: 100%;
}
h2 {
color: white;
}
body {
background-image: url("../img/growing.jpeg");
background-repeat: no-repeat;
background-size: cover;
}
ul li {
display: inline-block;
margin-right: 60px;
}
nav {
float: right;
vertical-align: middle;
}
#leftContent {
width: 60%;
}
h1 {
font-family: 'Teko', sans-serif;
color: white;
border-style: solid;
text-align: center;
}
span {
color: #218c74;
}
.nav-link {
text-decoration: none;
color: #218c74;
font-weight: bolder;
font-size: 12px;
&:hover {
color: white;
}
}
.hero {
text-align: center;
width: 50%;
color: white;
p {
text-align: justify;
}
}
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<link rel="stylesheet" href="css/style.css">
<link href="https://fonts.googleapis.com/css?family=Permanent+Marker&display=swap" rel="stylesheet">
<meta charset="utf-8">
<meta http-equiv="refresh" content="">
<title>Grow Plants</title>
</head>
<body>
<header>
<div id="leftContent">
<h1>How to <span>Grow Plants</span></h1>
</div>
<nav>
<ul>
<li class="navbutton"><a class="nav-link" href="html/seedling.html">Seedling</a></li>
<li class="navbutton"><a class="nav-link" href="html/germination.html">Germination</a></li>
<li class="navbutton"><a class="nav-link" href="html/vegetative.html">Vegetative</a></li>
<li class="navbutton"><a class="nav-link" href="html/flowering.html">flowering</a></li>
<li class="navbutton"><a class="nav-link" href="html/about.html">About</a></li>
</ul>
</nav>
</header>
<section class="hero">
<h2>Every Man Falls in Love with Mary Jane</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure
dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</section>
</body>
</html>
Use flexbox:
header {
display: flex;
background-color: #F4C724;
color: white;
text-transform: uppercase;
width: 100%;
align-items: center;
}
Assign classes to the h1 and nav elements:
<h1 class="header_title">How to <span>Grow Plants</span></h1>
<nav class="header_nav">
<ul>
<li class="navbutton"><a class="nav-link" href="html/seedling.html">Seedling</a></li>
<li class="navbutton"><a class="nav-link" href="html/germination.html">Germination</a></li>
<li class="navbutton"><a class="nav-link" href="html/vegetative.html">Vegetative</a></li>
<li class="navbutton"><a class="nav-link" href="html/flowering.html">flowering</a></li>
<li class="navbutton"><a class="nav-link" href="html/about.html">About</a></li>
</ul>
</nav>
In the CSS, remove the width from the h1,
and add:
.header_title{
width: 25%;
float:left;
background-color: green;
}
.header_nav{
width: 65%;
float:left;
background-color: blue;
}
an even better solution would be to create a wrapping div elements around the h1 and nav, with specific IDs, and then size them and float them. Although it is not correct to have multiple h1 elements on a single page, it is possible, and you can have multiple navs. So start your work now, by partitioning your code into well defined sections, that if you have to make changes in the future, it will be easier.
Flex solved the problem:
* {
margin: 0;
padding: 0;
//i don't want the default margin and padding settings because it messes with the position of things
}
header {
background-color: #F4C724;
color: white;
text-transform: uppercase;
width: 100%;
display: flex;
justify-contant: space-between;
align-items: center;
}
h2 {
color: white;
}
body {
background-image: url("../img/growing.jpeg");
background-repeat: no-repeat;
background-size: cover;
//you have to include two dots so the machine looks for the file outside of the css file
//it doesn't repeat the img over and over again as the body content extends
//background-size will size the img to the screen appropropriately
}
ul {
li {
display: inline-block;
margin-right: 60px;
/*remove browser default settings with 0 for both margin and padding*/
}
}
nav {
flex: 0 0 50%;
max-width: 50%;
}
h1 {
font-family: 'Teko', sans-serif;
color: white;
border-style: solid;
width: 32%;
text-align: center;
span {
color: #218c74;
}
}
.nav-link {
text-decoration: none;
color: #218c74;
font-weight: bolder;
font-size: 12px;
&:hover {
color: white;
}
}
.hero {
text-align: center;
width: 50%;
color: white;
p {
text-align: justify;
//justify reorders all the text to fit in the box evenly
}
}
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<link rel="stylesheet" href="css/style.css">
<link href="https://fonts.googleapis.com/css?family=Permanent+Marker&display=swap" rel="stylesheet">
<meta charset="utf-8">
<meta http-equiv="refresh" content="">
<title>Grow Plants</title>
</head>
<body>
<header>
<h1>How to <span>Grow Plants</span></h1>
<nav>
<ul>
<li class="navbutton"><a class="nav-link" href="html/seedling.html">Seedling</a></li>
<li class="navbutton"><a class="nav-link" href="html/germination.html">Germination</a></li>
<li class="navbutton"><a class="nav-link" href="html/vegetative.html">Vegetative</a></li>
<li class="navbutton"><a class="nav-link" href="html/flowering.html">flowering</a></li>
<li class="navbutton"><a class="nav-link" href="html/about.html">About</a></li>
</ul>
</nav>
</header>
<section class="hero">
<h2>Every Man Falls in Love with Mary Jane</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute
irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</section>
</body>
</html>

Border with transformed edge [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
maybe my title is not good description about the thing i want to ask, i need specific border and i dont have any idea how to do it.
http://prntscr.com/eaqmcs
<div class="row first-column">
<h2>100%</h2>
<h1 class="col-md-12">Monetize your Mobile <span>Traffic</span></h1>
<p class="col-md-5 offset-md-4 pull-right">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Officia ducimus veniam earum! Architecto omnis ex nobis nemo enim culpa,
natus deleniti assumenda accusantium inventore laboriosam soluta perferendis, corporis facilis sunt?
</p>
</div>
This is my css
.first-column{
margin-left: 18%;
margin-right: 18%;
margin-top: -5%;
}
.first-column h1{
text-align: center;
letter-spacing: 2px;
font-weight: bold;
border-bottom: 1px solid #acacac;
}
.first-column h2{
color: #fff;
margin-left: 13%;
font-weight: bold;
font-size: 57px;
}
you can achieve this effect using skew transformation.
as the shape you have given is like a skewed div with only bottom and right radius
.test{
width: 150px;
height: 10px;
margin-left: 100px;
border-bottom: 2px solid red;
border-right: 4px solid red;
transform: skewX(-60deg);
border-bottom-right-radius: 2px;
}
<div class=test></div>
You could use pseudo elements, like h1 span:after, to achieve the effect:
http://codepen.io/Sixl/pen/jyjrmz

There is no scroll bar on my website, I cannot scroll with the scroll wheel [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
i am making a website and i have noticed that i cannot scroll using the scroll wheel on a mouse. I can use two-finger scrolling on my chromebook but not the scroll wheel on my pc. The issue is with both of the browsers i use; firefox and chrome.
Thanks in advance, Liam
css:
header {
width: 100%;
}
body {
margin: 0;
overflow: hidden;
}
footer {
clear: both;
height: 100px;
width: 100%;
background-color: #3d3d3d;
position: relative;
}
.nav {
width: 100%;
height: 50px;
background-color: #3D3D3D;
-webkit-backface-visibility: hidden;
-moz-backface-visibility: hidden;
-webkit-transform: translateZ(0);
-moz-transform: translateZ(0)
}
.navwrap{
position: fixed;
width: 100%;
}
.name-logo {
width: 100%;
height: 350px;
background-color: #4BD150;
overflow: hidden;
}
.content {
float: left;
background-color: #f5fafa;
padding-left: 3%;
padding-right: 2%;
border-right: 4px solid #F5f5f5;
width: calc(65% - 4px);
z-index: 1;
height: 300px;
}
.sidebar {
width: 30%;
float: right;
background-color: #f5fafa;
height: 300px;
}
.social {
width: 30%;
float: right;
}
.social-icon {
float: right;
padding-left: 10px;
padding-top: 15px;
width: 35px;
}
#facebook {
padding-right: 15px;
}
.coppyright {
color: #fff;
padding-left: 25px;
width: 40%;
float: left;
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}
.name {
width: 60%;
height: 100%;
padding-left: 100px;
}
.helper {
display: inline-block;
height: 100%;
vertical-align: middle;
}
.logo {
width: 60%;
height: 100%;
float: right;
white-space:nowrap;
margin-top: 20px;
margin-right: 20%;
margin-left: 20%;
}
.logo-img {
width: 100%;
vertical-align: middle;
}
#nav {
width: 100%;
float: left;
margin: 0;
padding: 0;
list-style: none;
height: 50px;
}
#nav li {
float: left;
font-family: Ubuntu, sans-serif;
font-size: 20px;
}
#nav li a {
display: block;
padding-left: 15px ;
padding-right: 15px;
padding-top: 11px;
text-decoration: none;
font-weight: bold;
color: #fff;
height: 50px;
width: auto;
}
#nav li a:hover {
color: #fff;
background-color: #333333;
height: 39px;
}
#home {
margin-left: 20px;
}
html:
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css"
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Ubuntu:regular,bold&subset=Latin">
<title>Hackapi Mockup</title>
</head>
<!--This is where the navbar and splash title goes-->
<body><header>
<div class="navwrap">
<div class="nav">
<ul id="nav">
<li id="home">Home</li>
<li>News</li>
<li>Contact</li>
<li>About</li>
</ul>
</div>
</div>
<div class="name-logo">
<div class="logo">
<span class="helper"></span>
<img class="logo-img" src="https://imagizer.imageshack.us/v2/821x224q90/674/hloZoz.png">
</div>
</div>
</header>
<!--Main content and sidebar-->
<div class="content">
<h1>Lorem Ipsum</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div>
<div class="sidebar">
</div>
<!--Here is where all extra links, coppyrights and social media links go-->
<footer>
<div class="coppyright">
<h4>Coppyright Hackapi 2014</h4>
</div>
<div calss="social">
<img id="facebook" class="social-icon" src="https://imagizer.imageshack.us/v2/128x128q90/538/Kk3S3f.png">
<img id="twitter" class="social-icon" src="https://imagizer.imageshack.us/v2/128x128q90/913/xP6ctI.png">
<img id="gplus" class="social-icon" src="https://imagizer.imageshack.us/v2/128x128q90/536/nkHuql.png">
<img id="ytube" class="social-icon" src="https://imagizer.imageshack.us/v2/128x128q90/906/Sct7fy.png">
</div>
</footer>
</body>
I believe it is due to this style:
body {
overflow: hidden;
margin: 0;
}
You have to remove overflow:hidden as it is preventing the scrollbars from showing.
CSS:
overflow: auto;
OR
overflow-y: auto;
on body {}