argus-eyes
Version:
A lightweight commandline tool for visual regression testing of UI components.
34 lines (33 loc) • 657 B
HTML
<html>
<head>
<style>
.header, .footer {
display: block;
margin: 25px;
}
.header {
width: 250px;
height: 100px;
background: crimson;
}
.footer {
width: 100px;
height: 250px;
background: crimson;
}
.footer.active {
background: royalblue;
}
</style>
</head>
<body>
<div class="header"></div>
<div class="footer"></div>
<script>
setTimeout(function() {
document.querySelector('.footer').classList.add('active');
}, 2500);
</script>
</body>
</html>