Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

11
LINES

< > BotCompany Repo | #1032360 // hCenterOverlay

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (3664L) is out of date.

sS hCenterOverlay(O contents, O... _) {
  ret hcss([[.centerOverlay {
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    color: white; background: #666666; opacity: .8;
    z-index: 1000;
  }]])
    + div(contents, params_plusHTMLClass(_, "centerOverlay"));
}

Author comment

Began life as a copy of #1032358

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1032360
Snippet name: hCenterOverlay
Eternal ID of this version: #1032360/3
Text MD5: 90c3ccd17a634ed113350a611bcf1e9e
Author: stefan
Category: javax / html
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-31 16:46:12
Source code size: 309 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 143 / 203
Version history: 2 change(s)
Referenced in: [show references]