<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<div class="boxes">
<div class="red" style="width: 300px; height: 300px; color: red"></div>
<div class="blue" style="width: 300px; height: 300px; color: blue"></div>
</div>
</body>
</html>
<style>
.boxes{display:flex; flex-direction:row;}
</style>
Is it possible to swap the positions of div.blue and div.red using CSS or JavaScript?