mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-07 19:57:45 +03:00
05b1ecf1b1
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 :^)
28 lines
527 B
HTML
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>
|