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

6
LINES

< > BotCompany Repo | #1007681 // hcss - CSS style tag or link stylesheet

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

Libraryless. Click here for Pure Java version (3359L/18K).

sS hcss(O contents) {
  if (contents cast S && isRelativeOrAbsoluteURL(contents))
    ret hstylesheetsrc(contents);
  else    
    ret htag("style", contents);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1007681
Snippet name: hcss - CSS style tag or link stylesheet
Eternal ID of this version: #1007681/6
Text MD5: 09ecb7a453349348e47f75909e2d99a8
Transpilation MD5: 935df22c30b55681584995c22339d30b
Author: stefan
Category: javax / html
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-23 21:59:39
Source code size: 166 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 510 / 591
Version history: 5 change(s)
Referenced in: [show references]