Skip to content

Instantly share code, notes, and snippets.

@tiodot
tiodot / truncate.css
Last active June 25, 2022 06:07
css text truncate
// single line truncate
.ellipsis {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
// multiline truncate
.ellipsis-3 {
display: -webkit-box;
@tiodot
tiodot / meta-tags.md
Last active April 28, 2018 05:38 — forked from lancejpollard/meta-tags.md
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset="utf-8"/> ## declares the page's character encoding
<meta name="keywords" content="your, tags"/>
<meta name="description" content="150 words"/>
<meta name="subject" content="your website's subject">
<meta name="copyright"content="company name">
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
function extend(o,p){