interview-answe icon indicating copy to clipboard operation
interview-answe copied to clipboard

224.[html] 如何放大点击的区域?

Open webVueBlog opened this issue 4 years ago • 1 comments

webVueBlog avatar May 22 '20 22:05 webVueBlog

<div class="button">点我</div>

<style>

.button{

position:relative;

}

.button::after{

content:"";

position:absolute;

top:-10px;

left:-10px;

right:-10px;

bottom:-10px;

}

</style>

webVueBlog avatar May 22 '20 22:05 webVueBlog