A Pen by Tom Durkin
How do I make an a pen by tom durkin?
This pen shows you how to align text in the middle of a parent div using display: table; and display:table-cell.. What is a a pen by tom durkin? How do you make a a pen by tom durkin? This script and codes were developed by Tom Durkin on 14 November 2022, Monday.
A Pen by Tom Durkin - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>A Pen by Tom Durkin</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel='stylesheet prefetch' href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,700'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class='masthead'> <div class='align'>Use 'display: table;' on the parent and 'display: table-cell, vertical-align: middle;' to align child element</div>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
A Pen by Tom Durkin - Script Codes CSS Codes
body, html { height: 100%; font-family: "Open Sans", sans-serif; color: #fff;
}
.masthead { width: 100%; height: 500px; background: #3498db; display: table; font-size: 20px; line-height: 28px;
}
.align { display: table-cell; vertical-align: middle; text-align: center; padding: 0 100px;
}
A Pen by Tom Durkin - Script Codes JS Codes
/* feedback welcomed via Twitter! - @tomdurkin */
Developer | Tom Durkin |
Username | tomdurkin |
Uploaded | November 14, 2022 |
Rating | 3 |
Size | 2,503 Kb |
Views | 14,168 |
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!
Name | Size |
Jquery Template | 1,403 Kb |
Muti-level Dropdown Menu with JQuery | 2,407 Kb |
JQuery Mouse Recording | 2,559 Kb |
A Pen by Tom Durkin | 1,902 Kb |
Pure CSS image caption with animation | 2,501 Kb |
CSS Circles with Border Radius | 2,085 Kb |
CSS and nth-child experimentation | 2,156 Kb |
Shrinking Header | 3,714 Kb |
Animated CSS Buttons | 1,962 Kb |
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!
Name | Username | Size |
Calculator | Rzencoder | 4,572 Kb |
Colorful Sliders | Chanrith | 1,246 Kb |
Default Input, Textareas, Submits, and Buttons in iOS | Demersdesigns | 2,334 Kb |
Hexagons | Ashmind | 4,360 Kb |
Loading Bar | Jaradlight | 2,333 Kb |
Vanilla modal window | Jasonhowmans | 3,554 Kb |
A Pen by Rob Levin | Roblevin | 2,787 Kb |
Playing with transition timing | Mattgrosswork | 1,993 Kb |
Mobile first social buttons with no iframe | Alistairtweedie | 3,158 Kb |
Canvas Background Effect | Sonick | 3,513 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!