Vertical-align
How do I make an vertical-align?
Multi line verse for vertical align.. What is a vertical-align? How do you make a vertical-align? This script and codes were developed by Szymon Dziewoński on 23 December 2022, Friday.
Vertical-align - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Vertical-align</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <ul> <li class="item"> <div>One line text, on vertical middle</div> </li> <li class="item"> <div> Two verse text<br/> on vertical-middle </div> </li>
</ul>
</body>
</html>
Vertical-align - Script Codes CSS Codes
body{ background: #fff;
}
ul{ width: 615px; margin: 20px auto;
}
.item { position: relative; display: table; text-align: center; width: 615px; height: 80px; border: 1px solid #344491; background: #6673af; font-family: arial, sans-serif; font-size: 13px; color: #fff;
}
.item div{ display: table-cell; vertical-align: middle; text-align: center;
}
Developer | Szymon Dziewoński |
Username | SzymonDziewonski |
Uploaded | December 23, 2022 |
Rating | 3 |
Size | 1,646 Kb |
Views | 8,096 |
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 |
Earth animation | 1,991 Kb |
Hover effect | 2,448 Kb |
Random count | 1,930 Kb |
Menu with hover slide effect | 2,026 Kb |
Social Icons net animation | 2,689 Kb |
Hover button | 2,147 Kb |
Simple loader | 1,919 Kb |
Svg animation draw | 5,545 Kb |
Animated logo | 1,994 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 |
Off Canvas | Mariamarica | 1,870 Kb |
Animated rainbow wave on canvas | Icodeforlove | 2,777 Kb |
Fellowship of the Ring | Aussieyang | 2,639 Kb |
Css color for svg | Ademilter | 2,392 Kb |
CSS3 Selectables with information rollover | Jasonmayes | 9,565 Kb |
Realistic Buttons | Stoypenny | 2,248 Kb |
My three.js practice | Esambino | 3,203 Kb |
Console fun | Dviate | 1,500 Kb |
CSS Donut Charts | Seanstopnik | 2,908 Kb |
Pure CSS Tooltip | APinix | 2,815 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!