i am making a website but when i want to make a border transparent to "subtract" it from a div, it is not working. can anyone tell me whats going on and how i could fix this? also when i zoom in the borders grow but the rest doenst, can someone tell me a fix for that too? here's the code:
<!DOCTYPE html>
<html>
<head>
<title> Homepagina </title>
<link rel="stylesheet" type="text/css" href="main.css">
<meta charset="utf-8">
<!--Dit laadt het Raleway lettertype: -->
<link href='https://fonts.googleapis.com/css?family=Raleway:200,300' rel='stylesheet' type='text/css'>
<!--Dit laadt jQuery: -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"> </script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.6/jquery-ui.min.js"> </script>
</head>
<body>
<div class="topBar">
hoi
</div>
<div class="jumbotron">
<div class="overMij">
</div>
<div class="hobbies">
</div>
<div class="muziek">
</div>
<div class="informatica">
</div>
</div>
</body>
html, body {
margin: 0;
width: 100%;
height: 100%;
background-image: url(background.jpg)
}
.topBar {
height: 10%;
width: 100%;
background-color: blue;
}
.jumbotron {
height: 90%;
width: 100%;
}
.overMij {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
background-color: green;
background-size: 100%;
width: 60%;
height: 50%;
float: left;
border-radius: 50px;
border: solid white 25px;
}
.hobbies {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
background-color: green;
background-size: 100%;
width: 40%;
height: 50%;
float: right;
border-radius: 50px;
border: solid white 25px;
}
.muziek {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
background-color: green;
background-size: 100%;
width: 40%;
height: 50%;
float: left;
border-radius: 50px;
border: solid white 25px;
}
.informatica {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
background-color: green;
background-size: 100%;
width: 60%;
height: 50%;
float: right;
border-radius: 50px;
border: solid white 25px;
}