CSS Background 2
CSS Background 2
This is a fun CSS Background to add to your Codes
CSS
body{
background-color:#ff00ff;
background-image: linear-gradient(30deg, pink 12%, transparent 12.5%, transparent 87%, pink 87.5%, pink),
linear-gradient(150deg, pink 12%, transparent 12.5%, transparent 87%, pink 87.5%, pink),
linear-gradient(30deg, pink 12%, transparent 12.5%, transparent 87%, pink 87.5%, pink),
linear-gradient(150deg, pink 12%, transparent 12.5%, transparent 87%, pink 87.5%, pink),
linear-gradient(60deg, #aa00cc 25%, transparent 25.5%, transparent 75%, #aa00cc 75%, #aa00cc),
linear-gradient(60deg, #aa00cc 25%, transparent 25.5%, transparent 75%, #aa00cc 75%, #aa00cc);
background-size:80px 140px;
background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
}
Comments
Post a Comment