<h1><a href="./" title="Return Home"><span></span>Home</a></h1> #header h1 a{ display:block; /* Required */ width:250px; /* Width of image in question */ height:70px; /* Height of image in question */ position:relative; /* Required */ } #header h1 a span{ position:absolute; /* Required */ width:100%; /* Stretch full width of parent */ height:100%; /* Stretch full height of parent */ background:url(images/logo.gif) top left no-repeat; /* Image */ cursor:pointer; /* Required for links to appear like links in IE */ }
XHTMT|
HTML5|
CSS|
HTML DOM|
jQuery|
JSON|
AJAX|
LESS|
HTML|
Bootstrap|
Foundation|
AngularJS|
Ember.js|
TypeScript|
AngularJS2|
React|
jQuery UI|
jQuery EasyUI|
Node.js|
Highcharts|
Echarts|
Vue.js|
CoffeeScript|
Ext.js|
Meteor|
SASS|
Omi|
Markdown|
前端开发规范|
浏览器|
webpack|
JavaScript|
CSS3|
用户登录
还没有账号?立即注册
用户注册
投稿取消
文章分类: |
|
还能输入300字
上传中....