Ravêr zerreki

Şablon:Gradient/testcases

Wikipediya, ensiklopediya xosere ra

Horizontal

[çımeyi bıvurne]

{{gradient/sandbox|#ffdddd|#ddddff|horizontal}}
Output: background-color: #ffdddd; background-image: -moz-linear-gradient(left, #ffdddd, #ddddff); background-image: -ms-linear-gradient(left, #ffdddd, #ddddff); background-image: -o-linear-gradient(left, #ffdddd, #ddddff); background-image: -webkit-gradient(linear, left top, right top, from(#ffdddd), to(#ddddff)); -pie-background: linear-gradient(left, #ffdddd, #ddddff);

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

With color-stop

[çımeyi bıvurne]

{{gradient/sandbox|#ffdddd|#ddddff|horizontal|#ddffdd|50%}}
Output: background-color: #ffdddd; background-image: -moz-linear-gradient(left, #ffdddd, #ddffdd 50%, #ddddff); background-image: -ms-linear-gradient(left, #ffdddd, #ddffdd 50%, #ddddff); background-image: -o-linear-gradient(left, #ffdddd, #ddffdd 50%, #ddddff); background-image: -webkit-gradient(linear, left top, right top, from(#ffdddd), to(#ddddff), color-stop(50%, #ddffdd)); -pie-background: linear-gradient(left, #ffdddd, #ddffdd 50%, #ddddff);

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

{{gradient/sandbox|#ffdddd|#ddddff|vertical}}
Output: background-color: #ffdddd; background-image: -moz-linear-gradient(top, #ffdddd, #ddddff); background-image: -ms-linear-gradient(top, #ffdddd, #ddddff); background-image: -o-linear-gradient(top, #ffdddd, #ddddff); background-image: -webkit-gradient(linear, left top, left bottom, from(#ffdddd), to(#ddddff)); -pie-background: linear-gradient(top, #ffdddd, #ddddff);

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

{{gradient/sandbox|#ffdddd|#ddddff|right}}
Output: background-color: #ffdddd; background-image: -moz-linear-gradient(right, #ffdddd, #ddddff); background-image: -ms-linear-gradient(right, #ffdddd, #ddddff); background-image: -o-linear-gradient(right, #ffdddd, #ddddff); background-image: -webkit-gradient(linear, right bottom, left bottom, from(#ffdddd), to(#ddddff)); -pie-background: linear-gradient(right, #ffdddd, #ddddff);

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

{{gradient/sandbox|#ffdddd|#ddddff|bottom}}
Output: background-color: #ffdddd; background-image: -moz-linear-gradient(bottom, #ffdddd, #ddddff); background-image: -ms-linear-gradient(bottom, #ffdddd, #ddddff); background-image: -o-linear-gradient(bottom, #ffdddd, #ddddff); background-image: -webkit-gradient(linear, right bottom, right top, from(#ffdddd), to(#ddddff)); -pie-background: linear-gradient(bottom, #ffdddd, #ddddff);

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Needs work, navbox leaks gradient to navbar, but it shows what can be done.

Border-radius

[çımeyi bıvurne]