14 将行内元素转化为行内块状元素

mac2022-06-30  29

<!doctype html> <html> <head> <meta charset="utf-8"> <title>无标题文档</title> <style type="text/css"> a{ display:inline-block; width:40px; height:20px; background:pink; text-align:center; } </style> </head> <body> <a>1</a> <a>2</a> <a>3</a> <a>4</a> </body> </html>

 

转载于:https://www.cnblogs.com/Riona-C/p/7136644.html

相关资源:JAVA上百实例源码以及开源项目
最新回复(0)