css_writer

September 14, 2025 ยท View on GitHub

Shows how to use xtd::web::css:css_writer 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

String stream :
---------------
.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;
}