mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-29 09:36:29 +03:00
Added alias support for shorthands. Added BorderType::Outline. Added support for background/foreground masks. Fixes to the border rendering. Several fixes and clean up.
32 lines
708 B
CSS
32 lines
708 B
CSS
LinearLayout {
|
|
layout-width: match_parent;
|
|
layout-height: match_parent;
|
|
background-color: #cecece;
|
|
}
|
|
|
|
Widget {
|
|
clip: false;
|
|
margin-left: 200dp;
|
|
margin-top: 200dp;
|
|
width: 200px;
|
|
height: 200px;
|
|
background-color: white;
|
|
border-top-left-radius: 50px 100px;
|
|
border-top-right-radius: 100px 50px;
|
|
border-bottom-left-radius: 100px 50%;
|
|
border-bottom-right-radius: 100% 50%;
|
|
border-color: rgba(255, 0, 0, 0.5);
|
|
border-width: 20dp;
|
|
border-type: outline;
|
|
transition: all 0.5s;
|
|
clip: true;
|
|
}
|
|
|
|
Widget:hover {
|
|
border-top-left-radius: 5px 10px;
|
|
border-top-right-radius: 10px 5px;
|
|
border-bottom-left-radius: 100px 100%;
|
|
border-bottom-right-radius: 100% 30%;
|
|
border-width: 10dp;
|
|
}
|