Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
<style>
img{
  display: block;
  margin: 100px auto 0;
  width: 40%;
  -webkit-box-reflect: right;
}
</style>
</head>
<body>
<h1>Change box-reflect property with JavaScript</h1>
<p>Click the "Try it" button to set box-reflect property "below":</p>
<button onclick="myFunction()">Try it</button>
<img src="img_flwr.gif" alt="Flowers" width="224" height="162">
<script>
function myFunction() {
  document.querySelector("img").style.webkitBoxReflect = "below";
}
</script>
</body>
</html>