<h2> Original Image</h2>
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/123941/sports-q-c-1000-600-3.jpg">

<h2><code>brightness(80%)</code> | <code>brightness(150%)</code></h2>
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/123941/sports-q-c-1000-600-3.jpg">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/123941/sports-q-c-1000-600-3.jpg">
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  text-align: center;
  margin: 20px auto;
  font-family: 'Roboto';
}

h2 {
  margin: 20px;
  padding-top: 20px;
  clear:both;
}

img {
  max-width: 50%;
  margin: 0 auto;
  padding: 2px;
}

img:nth-of-type(2) {
  filter: brightness(80%);
}

img:nth-of-type(3) {
  filter: brightness(150%);
}

img:nth-of-type(1) {
  width: 100%;
}
Run Pen

External CSS

  1. https://fonts.googleapis.com/css?family=Roboto:400,100

External JavaScript

This Pen doesn't use any external JavaScript resources.