jquery moblie磁贴风格九宫格

本文展示了一个使用HTML和CSS实现的邮箱应用UI布局设计案例,该案例通过精心设计的图标和标签来组织不同功能模块,如收件箱、已发邮件、通讯录等,并采用统一的样式确保整体美观。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >


<style>  
        /* center icons */  
        .ui-grid-a { text-align: center; }  
          
        /* set row height */  
        .ui-block-a, .ui-block-b { height: 150px; position: relative; }  
          
        /* set label size and color */  
        .icon-label { color:#009966; display: block; font-size:12px; }  
          
        /* position the icons at the bottom of the block to adjust for uneven icon heights */  
        .icon-springboard { position: absolute; bottom: 0; width: 100%;}  
          
        a:link, a:visited, a:hover, a:active { text-decoration:none; }  
    </style>

 

<div data-role="content" data-theme="b">
				<div class="ui-grid-a">  
					<div class="ui-block-a">  
						<div class="icon-springboard">  
							<a href="#" >
								<img src="images/Live Mail.png" alt="Coming Soon" style="width:130px;height:130px;">
								<span class="icon-label">收件箱</span>
							</a>  
						</div>  
					</div>      
					  
					<div class="ui-block-b">  
						<div class="icon-springboard">      
							<a href="#">  
								<img src="images/Email Chat.png" alt="Coming Soon" style="width:130px;height:130px;">  
								<span class="icon-label">已发邮件</span>  
							</a>  
						</div>  
					</div>
					<div class="ui-block-a">  
						<div class="icon-springboard">  
							<a href="#" >
								<img src="images/myspace_grn.png" alt="Coming Soon" style="width:130px;height:130px;">
								<span class="icon-label">通讯录</span>
							</a>  
						</div>  
					</div>      
					  
					<div class="ui-block-b">  
						<div class="icon-springboard">      
							<a href="#">  
								<img src="images/Google Drive Folder.png" alt="Coming Soon" style="width:130px;height:130px;">  
								<span class="icon-label">网络硬盘</span>  
							</a>  
						</div>  
					</div>
					  
					<div class="ui-block-a">  
						<div style="position: absolute; bottom: 0; width:100%;">  
							<a href="#">  
								<img src="images/Gmai lalt.png" alt="Tickets" style="width:130px;height:130px;">  
								<span class="icon-label">写邮件</span>  
							</a>    
						</div>  
					</div>      
					  
					<div class="ui-block-b">  
						<div style="position: absolute; bottom: 0; width:100%;">  
							<a href="ch4/contact-us.html">  
								<img src="images/Gmail.png" alt="Contact Us" style="width:130px;height:130px;">  
								<span class="icon-label">我的邮件</span>
							</a>  
						</div>  
					</div>  
				</div>
			</div>

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值