<div class="bg-image"></div>
<div class="bg-filter"></div>

<div class="bg-text">
  <h1>Logga in</h1>
  <br><br>
  
  <form>
  <label for="fname">Organisation</label>
  <br>
  <input type="text" id="fname" name="fname" placeholder="Organisation">
  
  <br><br>  
  <label for="lname">Användarnamn</label>
  <br>
  <input type="text" id="lname" name="lname" placeholder="Användarnamn">
  
  <br><br>  
  <label for="psw">Lösenord</label>
  <br>
  <input type="text" id="psw" name="psw" placeholder="Lösenord">
  
  <br><br><br>
  <input type="button" value="Logga in">
  </form>
</div>

body, html {
  height: 100%;
}

* {
  box-sizing: border-box;
}

.bg-image {
  /* The image used */
  background-image: url(https://images.unsplash.com/photo-1516594798947-e65505dbb29d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&q=80);
  
  background-image: url(https://images.unsplash.com/photo-1551218372-a8789b81b253?ixlib=rb-1.2.1&auto=format&fit=crop&w=934&q=80);
  
  background-image: url(https://images.unsplash.com/31/RpgvvtYAQeqAIs1knERU_vegetables.jpg?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1354&q=80);
  
  background-image: url(https://images.unsplash.com/photo-1498579150354-977475b7ea0b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80);
  
  background-image: url(https://images.unsplash.com/photo-1514537099923-4c0fc7c73161?ixlib=rb-1.2.1&auto=format&fit=crop&w=934&q=80);
  
  background-image: url(https://images.unsplash.com/photo-1438118907704-7718ee9a191a?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&q=80);
  
  background-image: url(https://images.unsplash.com/photo-1445282768818-728615cc910a?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&q=80);
  
  
  /* Full height */
  height: 100%;

  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  /* Add the blur effect */
  filter: blur(4px);
  -webkit-filter: blur(4px);
  
   /*
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%); 
  */
 
  
  transform: scale(1.1);

}

 /*
.bg-filter {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #4CAF50;
  opacity: 0.4;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
*/

/* Position text in the middle of the page/image */
.bg-text {
  background-color: white;
  background-color: white;
  color: #444;
  font-weight: bold;
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%);
  z-index: 2;
  width: 40%;
  height: 600px;
  padding: 40px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, .2);
}

input[type=text] {
  width: 80%;
  padding: 12px 20px;
  margin: 8px 0;
  border-radius: 4px;
  background-color: #ececec;
  box-sizing: border-box;
  
}

input[type=button] {
  background-color: #4CAF50;
  border: none;
  color: white;
  padding: 16px 40px;
  text-decoration: none;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 4px;
}

h1 {
  color: #4CAF50;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.