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

8
LINES

< > BotCompany Repo | #1014716 // Play with div positions

JavaX source code (desktop) [tags: butter use-pretranspiled] - run with: x30.jar - homepage

Download Jar. Libraryless. Click here for Pure Java version (1488L/10K).

!7

html {
  ret hbody(
    div("This is fixed", style := "position: fixed; width: 100%; left: 0; top: 0; text-align: center; background: green;")
    + ul(allToStr(countTo(1000))),
    style := "background-image: url(" + snippetImageLink(#1101182) + "); background-repeat: no-repeat; background-attachment: fixed; background-size: cover;");
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1014716
Snippet name: Play with div positions
Eternal ID of this version: #1014716/11
Text MD5: 7fb9210024cdd172c833822ee7981a9b
Transpilation MD5: a505e9b24f24b56700a845e25eef367b
Author: stefan
Category: javax / web
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-01 14:48:11
Source code size: 350 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 427 / 2921
Version history: 10 change(s)
Referenced in: [show references]