[英]html table increase height of a text inside td
font-size
of a <td>
content vertically only?<td>
内容的font-size
?<table>
<td>
's<table>
<td>
内文本的唯一高度CSS3 transform has the scale function for it. CSS3 变换有它的缩放功能。 The following code is a working example.
以下代码是一个工作示例。
<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">
td {
display: inline-block;
font-size: 65px;
transform: scale(.5, 1);
border: 1px solid black;
}
</style>
</head>
<body>
<table>
<td>aaaaaa</td>
</table>
</body>
</html>
You can make it td a hover effect by adding this line您可以通过添加此行使其成为悬停效果
td:hover{
font-size: 100px;
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.