gradients done, found some transform issues, added a testing rml file
This commit is contained in:
@@ -1,12 +1,17 @@
|
||||
<rml>
|
||||
|
||||
<head>
|
||||
<title>RmlUi Raylib</title>
|
||||
<link type="text/rcss" href="main.rcss" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>Hello from RmlUi</h1>
|
||||
<div style="position: relative; width: 300px; height: 200px; overflow: hidden; border-radius: 40px; background-color: #0000ff">
|
||||
<div style="position: absolute; top: -20px; left: -20px; width: 150px; height: 150px; background-color: #ff0000; transform: rotate(15deg);"></div>
|
||||
<div style="position: relative; width: 300px; height: 200px; overflow: hidden; border-radius: 40px;"
|
||||
class="gradient-test">
|
||||
<div
|
||||
style="position: absolute; top: -20px; left: -20px; width: 150px; height: 150px; background-color: #ff0000; transform: rotate(15deg);">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</rml>
|
||||
</rml>
|
||||
Reference in New Issue
Block a user