在CSS样式表中选择<a>标签:代码格式化问题咨询
Hey there! I've formatted your CSS and HTML code cleanly using Markdown, with proper syntax highlighting and structure for better readability:
CSS Styles
.buttons { text-align: center; } a.buttons { font-family: 'PT Sans'; color: white; font-size: 20px; background-color: gray; padding: 14px 25px; text-align: center; text-decoration: none; display: inline-block; transition: padding 1s; } a.buttons:hover { background-color: lightgray; padding: 20px 30px; }
HTML Markup
<div class="buttons"> <a href="index.html">Home</a> <a href="http://linkto.bandcamp.com">Bandcamp</a> </div>
内容的提问来源于stack exchange,提问作者andrew r
相关产品推荐
相关产品推荐

