UI Component
Components are interactive building blocks for creating a user interface.
The appearance may be slightly different for each theme, you can see in the demo of the theme you are currently using
Captions are short texts that appear under pictures in books, magazines, or newspapers that describe a picture or explain what the people in it are doing or saying. |
You can add directly via Compose Mode or use this code:
<table class='tr-caption-container'> <tbody> <tr> <td> <img class='lazy full' alt='image_title' data-src='https://blogger.googleusercontent.com/img/.../image.png' src='data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs='/> </td> </tr> <tr> <td class='tr-caption'>Text_here</td> </tr> </tbody> </table>
Writing format:
<div class='lightBox'> <details> <summary class='n'><span class='c flex center'></span></summary> </details> <img class='lazy' alt='image_title' data-src='https://blogger.googleusercontent.com/img/.../image.png' src='data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs='/> <noscript><img alt='image_title' src='https://blogger.googleusercontent.com/img/.../image.png'/></noscript> </div>
Writing format:
<div class='psImg grImg'> <div> <img class='lazy' alt='image_title' data-src='https://blogger.googleusercontent.com/img/.../image.png' src='data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs='/> <noscript><img alt='image_title' src='https://blogger.googleusercontent.com/img/.../image.png'/></noscript> </div> <div> <img class='lazy' alt='image_title' data-src='https://blogger.googleusercontent.com/img/.../image.png' src='data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs='/> <noscript><img alt='image_title' src='https://blogger.googleusercontent.com/img/.../image.png'/></noscript> </div> <div> <img class='lazy' alt='image_title' data-src='https://blogger.googleusercontent.com/img/.../image.png' src='data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs='/> <noscript><img alt='image_title' src='https://blogger.googleusercontent.com/img/.../image.png'/></noscript> </div> <div> <img class='lazy' alt='image_title' data-src='https://blogger.googleusercontent.com/img/.../image.png' src='data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs='/> <noscript><img alt='image_title' src='https://blogger.googleusercontent.com/img/.../image.png'/></noscript> </div> </div>
The scroll function will only be active on mobile view
Writing format:
<div class='psImg scImg scrlH'> <div> <img class='lazy' alt='image_title' data-src='https://blogger.googleusercontent.com/img/.../image.png' src='data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs='/> <noscript><img alt='image_title' src='https://blogger.googleusercontent.com/img/.../image.png'/></noscript> </div> <div> <img class='lazy' alt='image_title' data-src='https://blogger.googleusercontent.com/img/.../image.png' src='data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs='/> <noscript><img alt='image_title' src='https://blogger.googleusercontent.com/img/.../image.png'/></noscript> </div> <div> <img class='lazy' alt='image_title' data-src='https://blogger.googleusercontent.com/img/.../image.png' src='data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs='/> <noscript><img alt='image_title' src='https://blogger.googleusercontent.com/img/.../image.png'/></noscript> </div> </div>
After clicking "Show all", the image cannot be hidden anymore
Writing format:
<input class='inImg hidden' id='for-hideImage' type='checkbox'> <div class='psImg hdImg'> <div> <img class='lazy' alt='image_title' data-src='https://blogger.googleusercontent.com/img/.../image.png' src='data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs='/> <noscript><img alt='image_title' src='https://blogger.googleusercontent.com/img/.../image.png'/></noscript> </div> <div> <img class='lazy' alt='image_title' data-src='https://blogger.googleusercontent.com/img/.../image.png' src='data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs='/> <noscript><img alt='image_title' src='https://blogger.googleusercontent.com/img/.../image.png'/></noscript> </div> <div> <img class='lazy' alt='image_title' data-src='https://blogger.googleusercontent.com/img/.../image.png' src='data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs='/> <noscript><img alt='image_title' src='https://blogger.googleusercontent.com/img/.../image.png'/></noscript> </div> <div class='btImg'> <div> <img class='lazy' alt='image_title' data-src='https://blogger.googleusercontent.com/img/.../image.png' src='data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs='/> <noscript><img alt='image_title' src='https://blogger.googleusercontent.com/img/.../image.png'/></noscript> </div> <!--[ Button image to activate ]--> <label for='for-hideImage'>Show all</label> </div> <!--[ Hide the rest image here ]--> <div class='psImg shImg'> <div> <img class='lazy' alt='image_title' data-src='https://blogger.googleusercontent.com/img/.../image.png' src='data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs='/> <noscript><img alt='image_title' src='https://blogger.googleusercontent.com/img/.../image.png'/></noscript> </div> <div> <img class='lazy' alt='image_title' data-src='https://blogger.googleusercontent.com/img/.../image.png' src='data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs='/> <noscript><img alt='image_title' src='https://blogger.googleusercontent.com/img/.../image.png'/></noscript> </div> <div> <img class='lazy' alt='image_title' data-src='https://blogger.googleusercontent.com/img/.../image.png' src='data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs='/> <noscript><img alt='image_title' src='https://blogger.googleusercontent.com/img/.../image.png'/></noscript> </div> <div> <img class='lazy' alt='image_title' data-src='https://blogger.googleusercontent.com/img/.../image.png' src='data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs='/> <noscript><img alt='image_title' src='https://blogger.googleusercontent.com/img/.../image.png'/></noscript> </div> </div> </div>
- Make sure that the
id='...'
andfor='...'
attributes have the same value, in this example we're usingfor-hideImage
- Don't switch to Compose Mode/Writing View while using this feature, otherwise this widget may not work properly.
For your information, images with lazyload will not be displayed when users disable Javascript in their browsers. Also the thumbnails won't appear if all the images in one post are using lazyLoad
Writing format:
<div class='separator'> <img class='lazy' alt='image_title' data-src='https://blogger.googleusercontent.com/img/.../image.png' src='data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs='/> <noscript><img alt='image_title' src='https://blogger.googleusercontent.com/img/.../image.png'/></noscript> </div>
- It's important to change the
alt='image_title'
attribute with your image title - Replace all code in
data-scr
andsrc
attributes on the next line with your image urls <noscript>
is important to use as a backup in case if the users disable Javascript in their browsers- In order to make the thumbnails appear, make sure there's one image without lazyLoad
This component is written manually and doesn't automatically appear in every post, the advantage is that this widget can be placed in any paragraph you want.
Writing format:
<div class='pRelate notranslate'> <!--[ Related title ]--> <b>You may want to read this post:</b> <ul> <li><a href='your_url'>post_title</a></li> <li><a href='your_url'>post_title</a></li> <li><a href='your_url'>post_title</a></li> </ul> </div>
Available in 3 different styles
Writing format:
<hr>
Writing format:
<hr class='dot'>
Writing format:
<hr class='line'>
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
Writing format:
<p class='pIndent'>text_paragraph</p>
Carol McKinney Highsmith (born Carol Louise McKinney on May 18, 1946) is an American photographer, author, and publisher who has photographed in all the states of the United States, as well as the District of Columbia, and Puerto Rico. She photographs the entire American vista (including landscapes, architecture, urban and rural life, and people in their work environments) in all fifty U.S. states as a record of the early 21st century.
Writing format:
<p><span class='dropCap'>T</span>ext_paragraph</p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin vestibulum dignissim diam, et efficitur felis commodo et. Mauris vel diam pellentesque lorem lacinia luctus.
— loremipsum.io/
Writing format:
<blockquote>text_paragraph</blockquote>
Alternative style:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin vestibulum dignissim diam, et efficitur felis commodo et. Mauris vel diam pellentesque lorem lacinia luctus. Nulla quam magna, pharetra in ultrices at, condimentum id tellus.
- Sed suscipit sapien sed turpis ultrices viverra. Ut quis dui sed odio sollicitudin fermentum.
- Aliquam vitae metus laoreet, dapibus enim sit amet, feugiat lorem. Sed in dui purus.
Writing format:
<blockquote class='s-1'>text_paragraph</blockquote>
1. Standard note
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin vestibulum dignissim diam, et efficitur felis commodo et.
Writing format:
<p class='note'>text_paragraph</p>
2. Warning note
Mauris vel diam pellentesque lorem lacinia luctus. Nulla quam magna, pharetra in ultrices at, condimentum id tellus. Sed suscipit sapien sed turpis ultrices viverra.
Writing format:
<p class='note wr'>text_paragraph</p>
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin vestibulum dignissim diam, et efficitur felis commodo et. Mauris vel diam pellentesque lorem lacinia luctus. Nulla quam magna, pharetra in ultrices at, condimentum id tellus. Sed suscipit sapien sed turpis ultrices viverra.
- Morbi turpis arcu, eleifend a tortor quis, sagittis dapibus ipsum. Vestibulum in imperdiet arcu, eget fringilla libero. Aenean commodo, felis id fermentum pellentesque, risus elit efficitur augue, at lobortis libero ipsum quis nulla. Suspendisse imperdiet magna at tellus feugiat rhoncus. Donec in massa vitae quam lobortis cursus.
Donec tincidunt interdum ex ut finibus. Praesent at dui scelerisque, laoreet justo eu, egestas justo. Nullam dapibus, dolor quis blandit suscipit, massa odio hendrerit neque, at fermentum dolor tellus ac justo. - Cras placerat sit amet libero sit amet rhoncus. Aenean ultrices vitae erat ut malesuada. Vivamus fringilla mollis leo, ut tempus nibh feugiat sollicitudin. Phasellus sodales maximus turpis, eget sollicitudin tortor volutpat ac.
In imperdiet ultrices iaculis. Proin consequat, massa ut hendrerit lacinia, eros nibh finibus justo, ut consectetur nibh orci vitae massa. Ut sodales lobortis sollicitudin. Phasellus eget mi dictum neque mollis vehicula. Vestibulum et dolor accumsan, volutpat est quis, posuere tortor. Maecenas euismod turpis eu metus elementum tempor. - Pellentesque in ullamcorper massa. Pellentesque lectus ipsum, dignissim nec ornare et, laoreet eget ex. Duis convallis lorem vitae consequat mattis. Aenean dui lectus, auctor eu dui et, gravida pellentesque velit. In vitae justo lacus. Vivamus id imperdiet sapien. Mauris non maximus purus. Nulla facilisi.
Writing format:
<ol class='step noList'> <li>text_paragraph</li> <li>text_paragraph</li> <li>text_paragraph</li> <li>text_paragraph</li> </ol>
- In imperdiet ultrices iaculis. Proin consequat, massa ut hendrerit lacinia, eros nibh finibus justo, ut consectetur nibh orci vitae massa.
- Ut sodales lobortis sollicitudin. Phasellus eget mi dictum neque mollis vehicula.
- Vestibulum et dolor accumsan, volutpat est quis, posuere tortor.
Writing format:
<b>pros:</b> <ol class='pros noList'> <li>text_paragraph</li> <li>text_paragraph</li> <li>text_paragraph</li> <li>text_paragraph</li> </ol>
- Maecenas euismod turpis eu metus elementum tempor.
- Pellentesque in ullamcorper massa. Pellentesque lectus ipsum, dignissim nec ornare et, laoreet eget ex.
- Duis convallis lorem vitae consequat mattis. Aenean dui lectus, auctor eu dui et, gravida pellentesque velit. In vitae justo lacus.
Writing format:
<b>cons:</b> <ol class='pros noList'> <li>text_paragraph</li> <li>text_paragraph</li> <li>text_paragraph</li> <li>text_paragraph</li> </ol>
1. Default table
Name | Position | Office | Age | Start date | Salary |
---|---|---|---|---|---|
Tiger Nixon | System Architect | Edinburgh | 61 | 2011/04/25 | $320,800 |
Garrett Winters | Accountant | Tokyo | 63 | 2011/07/25 | $170,750 |
2. Without colomn line
Name | Position | Office | Age | Start date | Salary |
---|---|---|---|---|---|
Tiger Nixon | System Architect | Edinburgh | 61 | 2011/04/25 | $320,800 |
Garrett Winters | Accountant | Tokyo | 63 | 2011/07/25 | $170,750 |
3. With background color
Name | Position | Office | Age | Start date | Salary |
---|---|---|---|---|---|
Tiger Nixon | System Architect | Edinburgh | 61 | 2011/04/25 | $320,800 |
Garrett Winters | Accountant | Tokyo | 63 | 2011/07/25 | $170,750 |
4. Add background color on hover
Name | Position | Office | Age | Start date | Salary |
---|---|---|---|---|---|
Tiger Nixon | System Architect | Edinburgh | 61 | 2011/04/25 | $320,800 |
Garrett Winters | Accountant | Tokyo | 63 | 2011/07/25 | $170,750 |
Writing format:
<div class='table noWrap w100'> <table> <thead> <tr> <th>title_1</th> <th>title_2</th> <th>title_3</th> <th>title_4</th> <th>title_5</th> <th>tille_6</th> </tr> </thead> <tbody> <tr> <td>content_here</td> <td>content_here</td> <td>content_here</td> <td>content_here</td> <td>content_here</td> <td>content_here</td> </tr> <tr> <td>content_here</td> <td>content_here</td> <td>content_here</td> <td>content_here</td> <td>content_here</td> <td>content_here</td> </tr> </tbody> </table> </div>
noWrap
is used to disable newlines, meaning that the text in the column will be written on only one line.w100
means the table will have a width of 100% or equal to the width of the post page, other options available arew90
for a width of 90% or remove this className for an auto-adjustable width.- Add
class='table noLine'
to remove the vertical line in the column, - use
class='table withBg'
to add background color to row, - use
class='table hoverBg'
to display the background color when the cursor hovers over the table row, - combinations of
class='table noLine withBg'
orclass='table noLine hoverBg'
are allowed.
You can add up to a maximum of 4 tabs
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin vestibulum dignissim diam, et efficitur felis commodo et. Mauris vel diam pellentesque lorem lacinia luctus. Nulla quam magna, pharetra in ultrices at, condimentum id tellus. Sed suscipit sapien sed turpis ultrices viverra. Ut quis dui sed odio sollicitudin fermentum. Aliquam vitae metus laoreet, dapibus enim sit amet, feugiat lorem. Sed in dui purus.
Morbi turpis arcu, eleifend a tortor quis, sagittis dapibus ipsum. Vestibulum in imperdiet arcu, eget fringilla libero. Aenean commodo, felis id fermentum pellentesque, risus elit efficitur augue, at lobortis libero ipsum quis nulla. Suspendisse imperdiet magna at tellus feugiat rhoncus. Donec in massa vitae quam lobortis cursus. Donec tincidunt interdum ex ut finibus. Praesent at dui scelerisque, laoreet justo eu, egestas justo. Nullam dapibus, dolor quis blandit suscipit, massa odio hendrerit neque, at fermentum dolor tellus ac justo. Cras placerat sit amet libero sit amet rhoncus. Aenean ultrices vitae erat ut malesuada. Vivamus fringilla mollis leo, ut tempus nibh feugiat sollicitudin. Phasellus sodales maximus turpis, eget sollicitudin tortor volutpat ac.
In imperdiet ultrices iaculis. Proin consequat, massa ut hendrerit lacinia, eros nibh finibus justo, ut consectetur nibh orci vitae massa. Ut sodales lobortis sollicitudin. Phasellus eget mi dictum neque mollis vehicula. Vestibulum et dolor accumsan, volutpat est quis, posuere tortor. Maecenas euismod turpis eu metus elementum tempor. Pellentesque in ullamcorper massa. Pellentesque lectus ipsum, dignissim nec ornare et, laoreet eget ex. Duis convallis lorem vitae consequat mattis. Aenean dui lectus, auctor eu dui et, gravida pellentesque velit. In vitae justo lacus. Vivamus id imperdiet sapien. Mauris non maximus purus. Nulla facilisi.
Curabitur quis vestibulum arcu, at aliquet urna. Aenean ex risus, rhoncus vitae urna accumsan, congue aliquet tortor. Suspendisse imperdiet nibh eget odio posuere maximus. Integer vitae neque ante. Donec pellentesque dictum diam, a luctus lectus ultrices vitae. Donec pretium dui erat, a maximus nunc dapibus sed. Nulla malesuada lectus a felis malesuada pretium. Nulla sit amet augue in neque rhoncus commodo ac nec nibh. Duis semper eleifend mauris, vel tristique velit bibendum sit amet. Mauris vitae justo eu nisl scelerisque condimentum eget eu mi.
Nullam non sapien sit amet ex consequat tempor ut nec risus. Phasellus non justo eget ex faucibus mattis. Vivamus vestibulum interdum consectetur. Morbi pulvinar ut lectus eu semper. Ut et sagittis leo. Pellentesque vitae posuere orci. Praesent sit amet egestas tortor, vel consectetur nulla. Duis feugiat consectetur nisl. Nunc interdum a sapien sed commodo. Maecenas porttitor dictum mi quis luctus. Vestibulum turpis quam, laoreet in dignissim dapibus, ullamcorper in tortor. Morbi malesuada massa sapien, sagittis ullamcorper quam pharetra ultrices.
Donec laoreet fringilla mattis. Proin vitae scelerisque neque, nec imperdiet sem. Aliquam pellentesque euismod eros, eget pharetra est vehicula eu. Nulla ligula orci, pellentesque sed quam vel, posuere sodales neque. Nulla turpis justo, lobortis vel imperdiet ut, viverra id nunc. Aliquam ipsum lectus, rutrum vel blandit sed, commodo ut ligula. Ut in condimentum eros. Duis in elit ultricies, molestie metus ac, dapibus augue. Pellentesque eu feugiat risus, sed rhoncus urna. Quisque viverra tellus nec placerat ullamcorper. Sed nec volutpat est, at pharetra mauris. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Morbi eu ultrices metus. Morbi placerat tempus nibh nec ultricies.
Writing format:
<!--[ Active function ]--> <input class='tbIn hidden' id='fTabs-1' type='radio' name='postTabs' checked> <input class='tbIn hidden' id='fTabs-2' type='radio' name='postTabs'> <input class='tbIn hidden' id='fTabs-3' type='radio' name='postTabs'> <input class='tbIn hidden' id='fTabs-4' type='radio' name='postTabs'> <!--[ Tabs header/title ]--> <div class='tbHd scrlH'> <!--[ Change atribute data-text='...' to replace tabs title ]--> <label for='fTabs-1' data-text='Chapter 1'></label> <label for='fTabs-2' data-text='Chapter 2'></label> <label for='fTabs-3' data-text='Chapter 3'></label> <label for='fTabs-3' data-text='Chapter 4'></label> </div> <div class='tbCn'> <!--[ Tabs content ]--> <div class='tbText-1'> content_here </div> <!--[ Tabs content ]--> <div class='tbText-2'> content_here </div> <!--[ Tabs content ]--> <div class='tbText-3'> content_here </div> <!--[ Tabs content ]--> <div class='tbText-4'> content_here </div> </div>
In some themes the Table of Content can be written semi-automatically
Contents
Writing format:
<details class='sp toc' open=''> <summary>Contents</summary> <div class='toC'> <ol> <li><a href='#your_url'>heading_1</a></li> <li><a href='#your_url'>heading_2</a></li> <li> <a href='#your_url'>heading_3</a> <ol> <li><a href='#your_url'>subheading_3</a></li> <li><a href='#your_url'>subheading_3</a></li> <li><a href='#your_url'>subheading_3</a></li> <li><a href='#your_url'>subheading_3</a></li> </ol> </li> </ol> </div> </details>
open=''
is used to keep the widget open, remove this attribute to make the widget close when the page is loaded.- Replace the text 'Contents' to change the widget title
This may be a little more complicated because it was written manually, but you can decide where to put this widget, follow the steps below:
- Adding the ID attribute:
The heading tags in posts are marked with<h2>
,<h3>
,<h4>
, or in Compose Mode/Writing Mode selectTitle
,Subtitle
,Small Title
. Add a special ID in each heading tag found.Here's an example of the correct writing:
<h2>Main Heading</h2>
<h2 id='main_heading'>Main Heading</h2>
Each ID must be unique, repetition of the same ID is prohibited.
- Linking to the heading tags:
Add#
before each ID you want to call, for example: a heading tag with IDid='main_heading'
can be called withhref='#main_heading'
.Example of correct writing:
<li><a href='#main_heading'>Main Heading</a></li>
<li><a href='main_heading'>Main Heading</a></li>
Used to create interactive widgets that can be hidden or displayed by the user on demand.
Spoiler
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In eget porta sapien. Donec eu sapien egestas, blandit sem in, consectetur neque. Cras quis diam id ipsum volutpat pretium vulputate sit amet dolor. Nunc quis tortor scelerisque, egestas lectus vitae, auctor augue. Proin sit amet efficitur tellus, et lacinia lorem. Etiam lacus mauris, mattis ut sagittis et, suscipit ac elit.
Nulla vitae luctus leo. Vivamus sit amet est vitae nisi vulputate iaculis vitae in lorem. Nullam lectus lectus, luctus vitae ante ut, finibus ultricies eros. Aenean quis rhoncus nibh. Ut nibh massa, venenatis id neque quis, sodales semper lorem. Mauris feugiat elementum arcu, eu rutrum erat congue quis. Nam lacinia orci id facilisis aliquet. Vestibulum tellus elit, feugiat nec sem ac, gravida interdum augue. Donec ligula augue, viverra eu odio sit amet, tempor euismod augue.
Aenean non ullamcorper augue, eget vestibulum felis. Nam vel pellentesque erat. Duis tellus ipsum, scelerisque id dolor sed, congue dapibus turpis. Proin ac ex tincidunt tellus suscipit finibus. Cras rhoncus odio vitae pretium fringilla. Mauris molestie nisi eget nibh fringilla mattis.
Ut id diam vulputate nulla interdum auctor sed eget erat. Mauris sit amet nulla augue. Mauris volutpat urna odio, commodo scelerisque turpis imperdiet vitae. Praesent est elit, egestas non lorem a, faucibus ultrices augue. Nulla vulputate malesuada velit, eleifend mollis quam. Pellentesque molestie elementum nisi quis varius.
Writing format:
<details class='sp notranslate'> <summary>Spoiler</summary> <p>text_paragraph</p> </details>
The rows are unlimited, you can even add up to >100 rows
Mauris vel diam pellentesque lorem lacinia luctus
Nulla quam magna, pharetra in ultrices at, condimentum id tellus. Sed suscipit sapien sed turpis ultrices viverra. Ut quis dui sed odio sollicitudin fermentum. Aliquam vitae metus laoreet, dapibus enim sit amet, feugiat lorem. Sed in dui purus.
Donec in massa vitae quam lobortis cursus
Donec tincidunt interdum ex ut finibus. Praesent at dui scelerisque, laoreet justo eu, egestas justo. Nullam dapibus, dolor quis blandit suscipit, massa odio hendrerit neque, at fermentum dolor tellus ac justo. Cras placerat sit amet libero sit amet rhoncus. Aenean ultrices vitae erat ut malesuada. Vivamus fringilla mollis leo, ut tempus nibh feugiat sollicitudin. Phasellus sodales maximus turpis, eget sollicitudin tortor volutpat ac.
Ut sodales lobortis sollicitudin
Phasellus eget mi dictum neque mollis vehicula. Vestibulum et dolor accumsan, volutpat est quis, posuere tortor. Maecenas euismod turpis eu metus elementum tempor. Pellentesque in ullamcorper massa. Pellentesque lectus ipsum, dignissim nec ornare et, laoreet eget ex. Duis convallis lorem vitae consequat mattis. Aenean dui lectus, auctor eu dui et, gravida pellentesque velit. In vitae justo lacus. Vivamus id imperdiet sapien. Mauris non maximus purus. Nulla facilisi.
Suspendisse imperdiet nibh eget odio posuere maximus
Integer vitae neque ante. Donec pellentesque dictum diam, a luctus lectus ultrices vitae. Donec pretium dui erat, a maximus nunc dapibus sed. Nulla malesuada lectus a felis malesuada pretium. Nulla sit amet augue in neque rhoncus commodo ac nec nibh. Duis semper eleifend mauris, vel tristique velit bibendum sit amet. Mauris vitae justo eu nisl scelerisque condimentum eget eu mi.
Writing format:
<!--[ Accordion start ]--> <div class='showH'> <!--[ line 1 ]--> <details class='ac alt'> <summary>accordion_title</summary> <div class='aC'> <p>text_paragraph</p> </div> </details> <!--[ line 2 ]--> <details class='ac alt'> <summary>accordion_title</summary> <div class='aC'> <p>text_paragraph</p> </div> </details> <!--[ line 3 ]--> <details class='ac alt'> <summary>accordion_title</summary> <div class='aC'> <p>text_paragraph</p> </div> </details> <!--[ line 4 ]--> <details class='ac alt'> <summary>accordion_title</summary> <div class='aC'> <p>text_paragraph</p> </div> </details> </div>
Standard
<pre>Your_code_is_here</pre>
.html
<!DOCTYPE html>
<html dir='ltr' lang='en'>
<head>
<title>Sample Page</title>
</head>
<!--[ <body> open ]-->
<body>
<p>Sample content here!</p>
</body>
<!--[ </body> close ]-->
</html>
.css
/* Standar CSS */
::selection{color:#fff;background:var(--linkC)}
*, ::after, ::before{-webkit-box-sizing:border-box;box-sizing:border-box}
h1, h2, h3, h4, h5, h6{margin:0;font-weight:700;font-family:var(--fontH);color:var(--headC)}
a:hover{opacity:.9;transition:opacity .1s}
.js
function downloadJSAtOnload() {
var d = document.createElement('script');
d.src = 'https://www.googletagmanager.com/gtag/js?id=00000', document.body.appendChild(d)
}
window.addEventListener ? window.addEventListener('load', downloadJSAtOnload, !1) : window.attachEvent ? window.attachEvent('onload', downloadJSAtOnload) : window.onload = downloadJSAtOnload;
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', '00000');
Custom
'IntersectionObserver'in window||document.write('<script src='https://polyfill.io/v3/polyfill.min.js?features=IntersectionObserver'><\/script>');
The color code in the syntax is written manually, we do not provide an automatic colored syntax feature.
Writing format:
<!--[ Change classname to html, css, or js ]--> <div class='pre'> <pre>code_here</pre> </div>
- Replace
class='pre'
withclass='pre html'
to define .html code format, there are 3 options available:pre html
,pre css
,pre js
. - replace
class='pre'
withclass='pre custom' data-text='custom_code'
to write a custom title. - Add a
style=''
attribute in the<pre>
tag to modify it, for example addstyle='white-space: pre-wrap;'
to disable the side scrolling function, the long code will be written in a new line. Addstyle='max-height: 400px;'
to define a maximum height of only 400px widget, or combine both tostyle='white-space: pre-wrap; max-height: 400px;'
. - Manual color addition:
<i class='red'>code</i>
: for red,<i class='blue'>code</i>
: for blue,<i class='geen'>code</i>
: for green,<i class='gray'>code</i>
: for gray,<i class='block'>code</i>
: for blue block,
- Or use the
HLJS Parse
tool to add color automatically.
<!DOCTYPE html>
<html dir='ltr' lang='en'>
<head>
<title>Sample Page</title>
</head>
<!--[ <body> open ]-->
<body>
<p>Sample content here!</p>
</body>
<!--[ </body> close ]-->
</html>
/* Standar CSS */
::selection{color:#fff;background:var(--linkC)}
*, ::after, ::before{-webkit-box-sizing:border-box;box-sizing:border-box}
h1, h2, h3, h4, h5, h6{margin:0;font-weight:700;font-family:var(--fontH);color:var(--headC)}
h1{font-size:1.9rem}
h2{font-size:1.7rem}
h3{font-size:1.5rem}
h4{font-size:1.4rem}
h5{font-size:1.3rem}
h6{font-size:1.2rem}
a{color:var(--linkC);text-decoration:none}
a:hover{opacity:.9;transition:opacity .1s}
{
"@context": "https://schema.org",
"@type": "WebSite",
"url": "https://median-ui.jagodesain.com/",
"name": "Median UI",
"alternateName": "Median UI",
"potentialAction": {
"@type": "SearchAction",
"target": "https://median-ui.jagodesain.com/search?q={search_term_string}",
"query-input": "required name=search_term_string"
}
}
Writing format:
<div class='pre tb'> <!--[ Active function ]--> <input class='prei hidden' id='preT-1' type='radio' name='preTab' checked> <input class='prei hidden' id='preT-2' type='radio' name='preTab'> <input class='prei hidden' id='preT-3' type='radio' name='preTab'> <!--[ Header/title ]--> <div class='preH tbHd scrlH'> <!--[ Change atribute data-text='...' to replace title ]--> <label for='preT-1' data-text='HTML'></label> <label for='preT-2' data-text='CSS'></label> <label for='preT-3' data-text='Javascript'></label> </div> <!--[ Content ]--> <div class='preC-1'> <pre>code_here</pre> </div> <div class='preC-2'> <pre>code_here</pre> </div> <div class='preC-3'> <pre>code_here</pre> </div> </div>
The links above is just a sample, it will not go to any page when clicked
Writing format:
<a class='new' href='your_url'>link_name</a> <a class='free' href='your_url'>link_name</a> <a class='extL' href='your_url'>link_name</a>
Writing format:
<div class='dlBox'> <!--[ Change data-text='...' atribute to add new file type ]--> <span class='fT' data-text='zip'></span> <div class='fN'> <!--[ File name ]--> <span>file_name.zip</span> <span class='fS'>200kb</span> </div> <!--[ Download link (change href='...' atribute to add link download) ]--> <a class='button' aria-label='Download' href='your_url'> <svg class='line' viewBox='0 0 24 24' stroke-miterlimit='10'><path d='M9.31995 11.6799L11.8799 14.2399L14.4399 11.6799'/><path d='M11.88 4V14.17'/><path d='M20 12.1799C20 16.5999 17 20.1799 12 20.1799C7 20.1799 4 16.5999 4 12.1799'/></svg> </a> </div>
With image instead of text:
Writing format:
<div class='dlBox'> <!--[ Change data-text='...' atribute to add new file type ]--> <span class='fT lazy' data-text='zip' data-style='background-image: url(https://blogger.googleusercontent.com/img/.../image.png)'></span> <div class='fN'> <!--[ File name ]--> <span>file_name.zip</span> <span class='fS'>200kb</span> </div> <!--[ Download link (change href='...' atribute to add link download) ]--> <a class='button' aria-label='Download' href='your_url'> <svg class='line' viewBox='0 0 24 24' stroke-miterlimit='10'><path d='M9.31995 11.6799L11.8799 14.2399L14.4399 11.6799'/><path d='M11.88 4V14.17'/><path d='M20 12.1799C20 16.5999 17 20.1799 12 20.1799C7 20.1799 4 16.5999 4 12.1799'/></svg> </a> </div>
The links above is just a sample, it will not go to any page when clicked
Writing format:
<a class='button' href='your_url'>Button</a>
Writing format:
<a class='button ln' href='your_url'>Button</a>
Writing format:
<a class='button sc' href='your_url'>Button</a>
Button
Button
Writing format:
<a class='button' href='your_url'> <svg class='line' viewBox='0 0 24 24' stroke-miterlimit='10'><path d='M9.31995 11.6799L11.8799 14.2399L14.4399 11.6799'/><path d='M11.88 4V14.17'/><path d='M20 12.1799C20 16.5999 17 20.1799 12 20.1799C7 20.1799 4 16.5999 4 12.1799'/></svg> <span>Button</span> </a>
Writing format:
<div class='btnF'> <a class='button ln' href='your_url'> <span>Info</span> </a> <a class='button' href='your_url'> <svg class='line' viewBox='0 0 24 24' stroke-miterlimit='10'><path d='M9.31995 11.6799L11.8799 14.2399L14.4399 11.6799'/><path d='M11.88 4V14.17'/><path d='M20 12.1799C20 16.5999 17 20.1799 12 20.1799C7 20.1799 4 16.5999 4 12.1799'/></svg> <span>Download</span> </a> </div>
The links above is just a sample, it will not go to any page when clicked
Youtube videos will load after the user scrolls the page.
Writing format:
<div class='lazyYt' data-embed='Youtube_videoID' style='z-index: 1;'> <div class='play'> <svg viewbox='0 0 213.7 213.7'><polygon class='t' points='73.5,62.5 148.5,105.8 73.5,149.1'></polygon><circle class='c' cx='106.8' cy='106.8' r='103.3'></circle></svg> </div> </div>
Defer Youtube video <iframe>
with defer.js function(alternative):
Writing format:
<!--[ Defer iframe ]--> <div class='videoYt'> <iframe title='Lazy video iframe' class='lazy' data-src='//www.youtube.com/embed/Youtube_videoID' allow='accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture' allowfullscreen></iframe> </div>
- Replace
Youtube_videoID
with your preferred Youtube ID, - Video ID can be found on Youtube url, e.g.
youtube.com/watch?v=OG7w0ILhqB4
.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin vestibulum dignissim diam, et efficitur felis commodo et. Mauris vel diam pellentesque lorem lacinia luctus. Nulla quam magna, pharetra in ultrices at, condimentum id tellus. Sed suscipit sapien sed turpis ultrices viverra. Ut quis dui sed odio sollicitudin fermentum. Aliquam vitae metus laoreet, dapibus enim sit amet, feugiat lorem. Sed in dui purus.
Source:
Lipsum generator, loremipsum.io/
With multiple reference:
- Lorch 2008.
- Falco 2007.
- Rosenthal 1961.
- O'Connor & Robertson 1999.
- Rooney 2012, hlm. 39: "As a rigorous experimental physicist, he is sometimes credited with inventing the scientific method."
- Ackerman (1978), hlm. 119.
- Gaudah, 2012.
Writing format:
<p class='pRef'>post_reference</p> // or <div class='pRef'>post_reference</div>