Files
eepp/bin/assets/layouts/test2.css
Martín Lucas Golini 3921f81ced Added border-radius support.
Added alias support for shorthands.
Added BorderType::Outline.
Added support for background/foreground masks.
Fixes to the border rendering.
Several fixes and clean up.
2020-03-13 05:10:53 -03:00

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;
}