<!DOCTYPE HTML>
<html>
<body>
<div style="width:100px; height:100px; transform:rotate(90deg); background:linear-gradient(red, green);"></div>
<div style="width:100px; height:100px; transform:rotate(270deg); background:linear-gradient(red, green);"></div>
</body>
</html>