Advertisement
circlejourney

First Impression

Oct 1st, 2023 (edited)
1,487
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 4.19 KB | None | 0 0
  1. <!--
  2.    First Impression snippet by Circlejourney. See my codes here:
  3.    https://toyhou.se/orchestrator/characters/folder:524040
  4.    
  5.    Placeholders (use Ctrl + F to replace):
  6.        Outline colour: #cfcfcf
  7.        Text shadow colour: #ddd
  8.        Text highlight colour: #eee
  9.        FA accent icon: fa-umbrella-beach
  10. -->
  11.  
  12. <div class="row no-gutters rounded" style="overflow: hidden; border: 3px solid #cfcfcf; background: #cfcfcf; position: relative;">
  13.     <div class="col-12 col-md-6 d-flex" style="border: 3px solid #cfcfcf; height: 400px;">
  14.        
  15.         <!-- Replace background-image URL to change first image -->
  16.         <div id="SLICE-1"
  17.            style="background-image: url(https://i.postimg.cc/150pr270/1130.png);
  18.                background-size: cover;
  19.                background-position: 20%;
  20.                width: 200px;"
  21.            class="flex-grow-1 rounded-left"></div>
  22.        
  23.         <!-- Replace background-image URL to change second image -->
  24.         <div id="SLICE-2"
  25.            style="background-image: url(https://i.postimg.cc/bvV02nCK/s-a12-Cb12-Cc12-Cd12-Ce0f0g64h0-C282-C183748-EF6560-E69-A7-CD8-BA98-DAD0-AAi-C.png);
  26.                background-size: cover;
  27.                width: 200px;
  28.                clip-path: polygon(0 0, 100% 0%, 100% 100%, 60px 100%);
  29.                margin-left: -60px;"
  30.            class="flex-grow-1"></div>
  31.            
  32.     </div>
  33.    
  34.    
  35.     <div id="NAME-BLOCK" style="width: 0;" class="col-12 col-md-auto flex-column justify-content-center align-items-center">
  36.         <div style="color: #333; z-index: 3; text-shadow: -3px -3px 0 #eee, 0px -3px 0 #eee, 3px -3px 0 #eee, -3px 0px 0 #ddd, 0px 0px 0 #ddd, 3px 0px 0 #ddd, -3px 3px 0 #ddd, 0px 3px 0 #ddd, 3px 3px 0 #ddd; line-height: 0.4em;" class="display-2 font-weight-bold text-uppercase text-center font-italic">
  37.             Character
  38.         </div>
  39.        
  40.         <!-- Replace src property below to change character portrait -->
  41.         <img id="PORTRAIT"
  42.            src="https://f2.toyhou.se/file/f2-toyhou-se/users/admin?9"
  43.            class="rounded-circle"
  44.            style="z-index: 2; max-width: none; width: 250px; height: 250px; border: 6px solid #cfcfcf;">
  45.        
  46.         <div class="display-2 font-weight-bold text-uppercase text-center font-italic" style="color: #333; z-index: 3; text-shadow:  -3px -3px 0 #eee, 0px -3px 0 #eee, 3px -3px 0 #eee, -3px 0px 0 #ddd, 0px 0px 0 #ddd, 3px 0px 0 #ddd, -3px 3px 0 #ddd, 0px 3px 0 #ddd, 3px 3px 0 #ddd; line-height: 0em;">
  47.             Name
  48.         </div>
  49.     </div>
  50.    
  51.    
  52.     <div class="col-12 col-md-6 d-flex" style="border: 3px solid #cfcfcf; height: 400px;">
  53.        
  54.         <!-- Replace background-image URL to change third image -->
  55.         <div id="SLICE-3"
  56.            style="background-image: url(https://i.postimg.cc/hvTVw5DB/s-a12-Cb12-Cc12-Cd12-Ce0f0g64h-EFF2-E2-E4-E1-C4-DECEAEDDB79-DABDBF3i-B5.png);
  57.                background-size: cover;
  58.                position: left;
  59.                width: 200px;
  60.                margin-right: -60px;"
  61.            data-toggle="tooltip"
  62.            title="Tooltip text 1"
  63.            class="flex-grow-1" ></div>
  64.            
  65.         <!-- Replace background-image URL to change fourth image -->
  66.         <div id="SLICE-4"
  67.            style="background-image: url(https://i.postimg.cc/ZR98PqX0/s-a12-Cb12-Cc12-Cd12-Ce0f0g64h162136193649-E79799-E3-B2-A3-E3-CAB3-E8-DFC8i85.png);  
  68.                background-size: cover;
  69.                background-position: top;
  70.                width: 200px;
  71.                clip-path: polygon(60px 0, 100% 0%, 100% 100%, 0 100%);"
  72.            data-toggle="tooltip"
  73.            title="Tooltip text 2"
  74.            class="flex-grow-1 rounded-right"></div>
  75.     </div>
  76.    
  77.     <div id="CORNER-ICON" style="position: absolute; z-index: 2; font-size: 150pt; bottom: -5%; right: -3%; color: #cfcfcf; line-height: 1em;">
  78.         <i class="fa-thin fa-fw fa-umbrella-beach"></i>
  79.     </div>
  80.    
  81. </div>
  82.  
  83. <div id="CREDIT" style="z-index: 3; font-size: 9pt; opacity: 0.5;">
  84.     <a href="https://toyhou.se/~forums/16.htmlcss-graphics/75580.circlejourney-s-code-creations-free-"><i class="fa fa-code"></i> Snippet by Circlejourney</a>
  85. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement