- This topic is empty.
-
AuthorPosts
-
July 7, 2014 at 4:07 am #174865ravinder07Participant
Hi, i was practicing css3 by making a image slider.
Here is link of slider i am trying to understand: http://creativejuiz.fr/trytotry/juizy-slideshow-full-css3-html5/#sl_i1if you download the file you will get html and css file in it.
In the css file. The developer use
background-size
property thisbackground-size: 13px, 26px, auto, 13px, 29px, 37px, 53px;
he use 7 values. Could you please name them and he usebackground-color:#e4dfd2;
then belowbackground-image
property to give the color gradient effect….he did not use background image here but usebackground-image
property to givebackground-color
gradient effect….i want to know is it syntactically correct using background image property to give background color gradient effect…however Firefox showing gradient effect but Google chrome is not showing.Here is codepen http://codepen.io/anon/pen/uImby
Codepen also not showing gradient effect.July 7, 2014 at 4:39 am #174876Paulie_DMemberWe appreciate that you are just starting out but this is not a teaching site.
We’re not here to explain how code works or provide basic information on code syntax etc.
The forum can assist you with problems you are having with specific code or effects not working on pages/sites you are working on.
I would suggest that you make a search for proper training sites like Treehouse etc.
if you download the file you will get html and css file in it.
Asking people to download files is not likely to get you much uptake. We’re all pretty wary about downloading files from unknown sources.
July 7, 2014 at 4:54 am #174884MDMuellerParticipantI assume the site is the same as the downloaded file (didn’t download it).
What confuses you, is probably the feature “multiple backgrounds”. When multiple backgrounds (in this case gradients) are specified, multiple background positions and background sizes may be specified. In your case 2 radial gradients and 5 linear gradients are specified (and 7 different background sizes for them).
A great example of how to specify multiple backgrounds: https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Using_multiple_backgrounds
Correct Syntax Radial: https://developer.mozilla.org/en/docs/Web/CSS/radial-gradient
Linear: https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradientJuly 7, 2014 at 4:59 am #174885Paulie_DMemberUnfortunately, there seems to be a great deal of “running before learning to walk” here.
July 7, 2014 at 6:37 am #174890ravinder07Participantok i will take care next time.
-
AuthorPosts
- The forum ‘Other’ is closed to new topics and replies.