Skip to content

Commit

Permalink
update website, more simple
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcc committed May 12, 2017
1 parent ea9609a commit f998777
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
padding: 10px 20px;
}
pre {
/*background-color: #f6dcd7;*/
border: 1px solid #f6dcd7;
background-color: #f6dcd7;
border-radius: 3px;
padding: 10px 15px;
white-space: pre-wrap;
Expand Down Expand Up @@ -66,12 +65,6 @@ <h3>Usage</h3>
<script type="text/javascript" src="dist/alimask.min.js"></script>
<script type="text/javascript">
document.body.style.background = 'url(' + alimask('王小为(小为) 888888') + ')';
var pres = document.querySelectorAll('pre');
var prebg = alimask('小为(hustcc)666666', {color: '#f6dcd7'});
for (var i = pres.length - 1; i >= 0; i--) {
pres[i].style.background = 'url(' + prebg + ')';
}
document.body.style.background = 'url(' + alimask('王小为(小为) 888888') + ')';
</script>
</body>
</html>

0 comments on commit f998777

Please sign in to comment.