psycoperl
-
Posts
5 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by psycoperl
-
-
In comparing three browsers (Safari 12.1.1, Chrome 75.0.3770, and FireFox 67.0.2) accessing the same page I am noticing that the colors are not rendering uniformly. Any suggestions?
html{ /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#3949ab+25,05336b+100 */ background: #05336B; /* Old browsers */ background: -moz-radial-gradient(center, ellipse cover, #05336B 100%, #3949ab 25%); /* FF3.6-15 */ background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(100%,#05336b), color-stop(25%,#3949ab)); /* Chrome4-9,Safari4-5 */ background: -webkit-radial-gradient(center, ellipse cover, #05336B 100%, #3949ab 25%); /* Chrome10-25,Safari5.1-6 */ background: -o-radial-gradient(center, ellipse cover, #05336B 100%, #3949ab 25%); /* Opera 12+ */ background: -ms-radial-gradient(center, ellipse cover, #05336B 100%, #3949ab 25%); /* IE10 preview */ background: radial-gradient(ellipse at center, #05336B 100%, #3949ab 25%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#05336b', endColorstr='#3949ab',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */ background-attachment:fixed; }
-
Ok Thank you.
Is there a way to have it stretch the entire length of document?
-
I am creating a background gradient and would like for it to either just stay on the screen background and not repeat during scrolling)
For pages with really really long content I would like to have the gradient applied to the entire content and scroll with the page but not repeat.
How can I update the following part of CSS
Thanks
html{ height:100%; max-height:100%; /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#05336b+0,3949ab+100 */ background: #05336b; /* Old browsers */ background: -moz-linear-gradient(top, #05336b 0%, #3949ab 100%); /* FF3.6-15 */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#05336b), color-stop(100%,#3949ab)); /* Chrome4-9,Safari4-5 */ background: -webkit-linear-gradient(top, #05336b 0%,#3949ab 100%); /* Chrome10-25,Safari5.1-6 */ background: -o-linear-gradient(top, #05336b 0%,#3949ab 100%); /* Opera 11.10-11.50 */ background: -ms-linear-gradient(top, #05336b 0%,#3949ab 100%); /* IE10 preview */ background: linear-gradient(to bottom, #05336b 0%,#3949ab 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#05336b', endColorstr='#3949ab',GradientType=0 ); /* IE6-9 */ }
-
Perfect. Thank you both...
CSS is still a newer thing to me,
Creating layout design in w3.css
in CSS
Posted
Hello... I am trying to design a sticky header bar for my project. While I have already got the sticky bar working, I am now trying to create a better layout of the content on the bar using CSS (w3.css or standard css).
I cannot figure out how to achieve this. Any suggestions?
What I would like to have (w/out the borders) is:
what I have got so far... (but is not working as intended)...