1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-17 20:05:07 +00:00
serenity/Tests/LibWeb/Layout/input/css-values/comparison-functions.html
2023-08-01 14:39:31 +02:00

17 lines
463 B
HTML

<!DOCTYPE html>
<style>
* {
width: 0px;
height: 0px;
}
.min {
width: min(150px, 80px, min(200px, 300px));
}
.max {
width: max(15px, max(75px, 100px), 50px);
}
.clamp {
width: clamp(clamp(0px, 120px, 200px), 50px, clamp(100px, 500px, 300px));
height: clamp(clamp(0px, 120px, 200px), 1000px, clamp(100px, 500px, 300px));
}
</style><div class="min"><div class="max"><div class="clamp">