ユーザ用ツール

サイト用ツール


digital:css:tips

文書の過去の版を表示しています。


CSS Tips

みずたま背景

dotted pattern
.dottedbg {
	background: #888;
	background-image: radial-gradient(#444 20%, transparent 0), radial-gradient(#444 20%, transparent 0);
	background-position: 0 0, 25px 25px;
	background-size: 50px 50px;
}

Dotted B.G.

みずたま背景2

dotted pattern
.dottedbg2 {
	background: #888;
	background-image: radial-gradient(#444 40%, transparent 0), radial-gradient(#444 40%, transparent 0);
	background-position: 0 0, 25px 25px;
	background-size: 50px 50px;
}

Dotted B.G.

みずたま背景3

dotted pattern
.dottedbg3 {
	background: #888;
	background-image: radial-gradient(#444 20%, transparent 0), radial-gradient(#444 20%, transparent 0);
	background-position: 0 0, 10px 10px;
	background-size: 20px 20px;
}

Dotted B.G.

応用

dotted pattern
.dotteButton01 {
	background: #E0609F;
	background-image: radial-gradient(#965BC4 20%, transparent 0), radial-gradient(#965BC4 20%, transparent 0);
	background-position: 0 0, 10px 10px;
	background-size: 20px 20px;
	border: 2px inset rgba(108, 69, 138, 0.6);
	border-radius: 0.5em;
	line-height: 1;
	padding: 0.4em 1.5em;
	color: white;
	font-size: 110%;
	font-weight: bold;
	position: relative;
	transition-duration: 3sec;
	box-shadow: 2px 1px 1px rgba(0, 0, 0, 0.3);
}
.dotteButton01:hover {
	top: 2px;
	left: 1px;
	text-decoration: none;
	opacity: 0.7;
	box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

みずたまがらのボタン

digital/css/tips.1545971855.txt.gz · 最終更新: 2018/12/28 13:37 by paya