<template>
<div class="content-el-array">
<div>
<h2>transform: scale(1.04);</h2>
<h4>鼠标放上去字体变大1</h4>
<h4>鼠标放上去字体变大2</h4>
<h4>鼠标放上去字体变大3</h4>
<h4>鼠标放上去字体变大4</h4>
<h4>鼠标放上去字体变大5</h4>
</div>
<div>
<h2>transform: scale(1.04);</h2>
<h3>鼠标放上去字体变大1</h3>
<h3>鼠标放上去字体变大2</h3>
<h3>鼠标放上去字体变大3</h3>
<h3>鼠标放上去字体变大4</h3>
<h3>鼠标放上去字体变大5</h3>
</div>
</div>
</template>
<script>
export default {
data() {
return {};
},
methods: {},
mounted() {},
};
</script>
<style scoped lang="scss">
.content-el-array {
border: 1px solid red;
margin: 20px;
h4 {
&:hover {
color: #007dff;
transform: scale(1.04);
display: inline-block;
文章来源地址https://www.toymoban.com/news/detail-514321.html
文章来源:https://www.toymoban.com/news/detail-514321.html
到了这里,关于css:hover鼠标放上去字体变大 transform: scale的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!