CSS3 页面中展示邮箱列表点击弹出发送邮件界面

CSS3 页面中展示邮箱列表点击弹出发送邮件界面

代码:

DOCTYPE html>
<html>
<head>
<meta charset="utf-8"> 
<title>CSS教程title> 
<style>
ul {
    list-style-type: none;
}

ul li a {
    color: green;
    text-decoration: none;
    padding: 3px; 
    display: block;
}

@media screen and (max-width: 699px) and (min-width: 520px) {
    ul li a {
        padding-left: 30px;
        background: url(email-icon.png) left center no-repeat;
    }
}
style>
head>
<body>

<h1>重置浏览器窗口,查看效果!h1>

<ul>
  <li><a data-email="[email protected]" href="mailto:[email protected]">John Doea>li>
  <li><a data-email="[email protected]" href="mailto:[email protected]">Mary Moea>li>
  <li><a data-email="[email protected]" href="mailto:[email protected]">Amanda Pandaa>li>
ul>

body>
html>

效果:

CSS3 页面中展示邮箱列表点击弹出发送邮件界面_第1张图片

 

转载于:https://www.cnblogs.com/lizm166/p/9358984.html

你可能感兴趣的:(CSS3 页面中展示邮箱列表点击弹出发送邮件界面)