ladybird/Base/home/anon/www/borders.html
Andreas Kling 05b1ecf1b1 LibHTML: Draw each CSS border edge separately with their own style
The borders still look very wrong with any border-width other than 1,
but at least we can see that they have the right color, and end up in
mostly the right place :^)
2019-11-25 13:17:14 +01:00

28 lines
527 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>CSS borders lookin' good</title>
<style>
#foo {
border-top-color: red;
border-right-color: lime;
border-bottom-color: blue;
border-left-color: yellow;
border-top-width: 40px;
border-right-width: 30px;
border-bottom-width: 20px;
border-left-width: 10px;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
}
</style>
</head>
<body>
<div id="foo">One day at a time!</div>
</body>
</html>