GithubHelp home page GithubHelp logo

kanna-index's Introduction

Kanna-index

img

介绍

完全自用,根据拉屎爱哀嚎的主页写的

想用的话就下载拿去用吧,留个DANGO PROJECT的版权即可

功能

介绍自己的特长啊,什么什么的

用JavaScript写了一个随机背景图,但是没有启用。 想用的话记得注释掉页面的css

示例

<style>
	.bg{
		height: 100%;
       	width: 100%;
		/** background-image: url(./default.jpg); **/
		background-repeat: no-repeat;
		background-size: auto;
		z-index:1;
		position: absolute;
	}
</style>

然后在将位于*

*标签下的 *<script>*标签内注释删除

删除后的亚子

	<script>
	 var randomBgIndex =  parseInt(6*Math.random());
	 document.write('<style>.bg{background: rgba(255, 255, 255, 0.0) url("./bgs/bg'+ randomBgIndex +'.jpg"); background-size:100% 100%; background-repeat:no-repeat;}</style>');
	</script>

反之相反

DEMO LINK

狱杰的主页

引用开源项目

MDUI

阿里巴巴矢量图标库

2020狱杰1Jnver

kanna-index's People

Contributors

obentnet avatar

Stargazers

HantaoZhang avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.