css_reader
September 14, 2025 ยท View on GitHub
Shows how to use xtd::web::css:css_reader class.
Sources
Build and run
Open "Command Prompt" or "Terminal". Navigate to the folder that contains the project and type the following:
xtdc run
Output
Write all selectors and all properties :
----------------------------------------
.user_box {
background: #4080FA;
display: none;
filter: alpha(opacity=40);
height: 100%;
left: 300;
opacity: 0.4;
position: fixed;
top: 200;
width: 100%;
z-index: 100;
}
Get specific properties :
-------------------------
filter = alpha(opacity=40)
opacity = 0.4
z-index = 100