利用CSS3实现注释叠加效果



48 189 64



特效描述:利用CSS3实现 注释叠加效果,利用CSS3实现注释叠加效果

代码结构

1. 引入CSS

<link href='http://fonts.googleapis.com/css?family=Alegreya+SC:700,400italic' rel='stylesheet' type='text/css' />
<link rel="stylesheet" type="text/css" href="css/demo.css" />
<link rel="stylesheet" type="text/css" href="css/style.css" />

2. 引入JS

<script type="text/javascript" src="js/modernizr.custom.04022.js"></script>

3. HTML代码

        <div class="container">
			<!-- Codrops top bar -->
            <div class="codrops-top">
                <a href="http://tympanus.net/Development/FlipboardPageLayout/">
                    <strong>&laquo; Previous Demo: </strong>Flipboard Page Layout
                </a>
                <span class="right">
					<a href="http://www.51qianduan.com//blog/simple-arrows-psd/">Arrows by Alessio Atzeni</a>
					<a href="http://themeforest.net/item/blenton-premium-wordpress-template/1995225">Theme Preview by Ana Segota</a>
                    <a href=" http://tympanus.net/codrops/2012/05/14/annotation-overlay-effect-with-css3/">
                        <strong>Back to the Codrops Article</strong>
                    </a>
                </span>
                <div class="clr"></div>
            </div><!--/ Codrops top bar -->
			<header>
				<h1>Annotation Overlay Effect <span>with CSS3</span></h1>
				<p>Make some simple annotations to images/items and show them on click</p>
				<h2 class="ie-note ie-note-1">CSS3 Selectors don't work in Internet Explorer &lt; 9</h2>
				<h2 class="ie-note ie-note-2">CSS3 Transitions don't work in Internet Explorer &lt; 10</h2>
			</header>
			<section>
				<div class="ao-item">
					<div class="ao-details">
						<h2>Blenton Wordpress Theme</h2>
						<p>Blenton is a simple and clean Wordpress theme which was made with a lot of attention to detail. It is suitable for commercial and private projects and comes with a variety of features.</p>
						<p><a href="http://themeforest.net/item/blenton-premium-wordpress-template/1995225">Take a look &rarr;</a></p>
					</div>
					<div class="ao-preview">
						<input type="checkbox" id="ao-toggle" class="ao-toggle" name="ao-toggle" />
						<img src="images/Anariel_BlentonTemplate.jpg" alt="image01" />
						<div class="ao-annotations">
							<span>Full Localisation Support</span>
							<span>Custom Image Widget</span>
							<span>Blog and Contact Widgets</span>
							<span>Easy Theme Options</span>
							<span>4 Footer Widget Columns</span>
						</div>
					</div>
				</div>
				<div class="ao-item ao-item-left">
					<div class="ao-details">
						<h2>Blenton is elegant</h2>
						<p>The design of Blenton makes a great match with a portfolio. It comes with many features like full localisation support and easy theme options.</p>
						<p><a href="http://themeforest.net/item/blenton-premium-wordpress-template/1995225">Buy the theme &rarr;</a></p>
					</div>
					<div class="ao-preview">
						<input type="checkbox" id="ao-toggle" class="ao-toggle" name="ao-toggle" />
						<img src="images/Anariel_UnixTemplate.jpg" alt="image02" />
						<div class="ao-annotations">
							<span>Easy Logo Upload</span>
							<span>Custom Post Portfolio</span>
							<span>Custom Background Color and Pattern</span>
						</div>
					</div>
				</div>
			</section>
        </div>



用户评论
大牛,别默默的看了,快登录帮我点评一下吧!:)      登录 | 注册


热门标签: 瀑布流 收藏 预览 自适应页面大小 响应式区块列表布局 摇摆 烟花 清单样式 照相机 注释 下划线 结构图 鼠标悬停 条形码 弹幕 画板 朋友圈样式 红包 css绘制样式 支付 图文布局 右键菜单 图片淡出淡进 二维码 文字提示框 文字淡出淡进 地图 提示框/弹出层 计算器 layer 计时器 lightbox 桌面 跳转 Tooltip工具提示框 步骤 浮动提示框 键盘 html5弹窗动画 签到 分享 点赞 投票 雪花 打印 答题 震动 图表 鼠标滑过 抽奖 表情 qq空间 头像截图 星星打分评分 编辑器 播放器 电子杂志 排行榜 分页翻页 排序 表格隔行变色 table表格 进度条 多功能 弹出层拖动 窗口提示框 滑动星星打分 渐隐切换 淡出淡入淡进 其他更多

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

jQuery/js讨论群
群号:642649996
Css3+Html5讨论群
群号:322131262

加群请备注:从官网了解到