Type Specimen

Size
2,414 Kb
Views
14,168

How do I make an type specimen?

What is a type specimen? How do you make a type specimen? This script and codes were developed by Jerusha Johnson on 22 October 2022, Saturday.

Type Specimen Previews

Type Specimen - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Type Specimen</title> <link href='https://fonts.googleapis.com/css?family=Ubuntu+Condensed|Open+Sans' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel='stylesheet prefetch' href='https://netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <section class="f1 grid">ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
</section> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Type Specimen - Script Codes CSS Codes

html,body{ background: #1e1e1e; height:100%; width:100%;
}
.f1 { font-family:'Ubuntu Condensed'; -webkit-text-fill-color: transparent; -webkit-text-stroke-width: 1px; -webkit-text-stroke-color: #fefefe;
}
.grid{ width:35%; margin:20px auto;
}
.letterBlock { font-size:3em; float:left; margin-left:10px; margin-right:5px; font-family:'Ubuntu Condensed'; -webkit-text-fill-color: transparent; -webkit-text-stroke-width: 1px; -webkit-text-stroke-color: #fefefe;
}
.color{ -webkit-text-fill-color: transparent; -webkit-text-stroke-width: 1px; -webkit-text-stroke-color: #FF6600;
}
.letterBlock.color{ color:#0f9;
}
.grid > .letterBlock:nth-child(42){ clear:both;
}
.grid > .letterBlock:nth-child(n+27){ font-size:2.75em;
}
.grid > .letterBlock:nth-child(n+27):nth-child(-n+41){ margin-top:30px;
}
.grid > .letterBlock:nth-child(53){ clear:both;
}
.grid > .letterBlock:nth-child(n+53){ font-size:2.5em;
}
.grid > .letterBlock:nth-child(n+53):nth-child(-n+62){ margin-top:30px;
}

Type Specimen - Script Codes JS Codes

letters = $('.f1').text().split('');
keyCodeList = ['65','66','67','68','69','70','71','72','73','74','75','76','77','78','79','80','81','82','83','84','85','86','87','88','89','90','97','98','99','100','101','102','103','104','105','106','107','108','109','110','111','112','113','114','115','116','117','118','119','120','121','122','48','49','50','51','52','53','54','55','56','57'];
letterList = [];
$('.f1').html('');
function newLetter(l) { var $letter = $('<div class="letterBlock">'+l+'</div>'); return $letter;
}
$('.letterBlock').each(function(i,j){ var $number = $(j).attr(data-keycode); $(j).html(String.fromCharCode($number)); return $number;
});
$.each(letters, function(i,j) { letterList.push(newLetter(j));
});
$.each(letterList, function(n,k) { $('.grid').append(k);
});
Type Specimen - Script Codes
Type Specimen - Script Codes
Home Page Home
Developer Jerusha Johnson
Username bonzaipenguin
Uploaded October 22, 2022
Rating 3
Size 2,414 Kb
Views 14,168
Do you need developer help for Type Specimen?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Jerusha Johnson (bonzaipenguin) Script Codes
Create amazing blog posts with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!