Awesome landing page design using CSS3
Up until recently it has been necessary to use images to create cool page shadow and page curl effects. Not anymore. design-a-webpage.com demonstrates how a super cool page curl shadow can be created using efficient and clean CSS3.
Being able to use CSS3 is a huge advantage over images because there is a massive difference in data size. Instead of transferring images (some of which would need to be quite large) you can now simply write a CSS3 gradient declaration to do the same job.
Go to my Good money crash course landing page, on design-a-webpage.com. Note the cool page effect that makes the dark blue content float above the rest of the page, appearing to curl up at each end.
The designers at design-a-webpage.com have been quite sneaky in that they have not only introduced curved gradient shadows above and below the content strip, they have also given the main content a shadow gradient to provide it with a more realistic "depth".
It's easy to confirm this by comparing the tone of the bottom left corner of the content to the top right. Notice that it is far lighter on the left hand side than the right. This gives the page the appearance that there is an external light source shining unevenly onto a three dimensional surface.
I won't show the code for the content gradient here, but take a gander at the CSS3 declaration for the page curl shadows above and below the main content:
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(90%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.8))); /* Chrome,Safari4+ */
background: -webkit-radial-gradient(center, ellipse cover, rgba(0,0,0,0) 90%,rgba(0,0,0,0.8) 100%); /* Chrome10+,Safari5.1+ */
background: -o-radial-gradient(center, ellipse cover, rgba(0,0,0,0) 90%,rgba(0,0,0,0.8) 100%); /* Opera 12+ */
background: -ms-radial-gradient(center, ellipse cover, rgba(0,0,0,0) 90%,rgba(0,0,0,0.8) 100%); /* IE10+ */
background: radial-gradient(center, ellipse cover, rgba(0,0,0,0) 90%,rgba(0,0,0,0.8) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#cc000000',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
They've got multiple platform support so it works on most, if not all, browsers. That's what makes the declaration so long. However, each individual snippet makes use of the radial gradient background attribute that comes with CSS3. In addition, they also utilize transparency so that the underlying color of the gradient sections is not overwhelmed.
Of course, it's not necessary you learn how to use any of this since all of this ships automatically with the Shadows theme that comes with design-a-webpage.com.
All that was required for me to create this page was to add a bit of content and select my colors using point and click color palettes. All in all it took about a minute. No coding. No CSS. No HTML. No PHP. No software downloads. Just point and click and publish.
Try it out for yourself and post a link to the Shadow pages you create. Remember you aren't limited to the product layout as used in this page, there are a whole range available to design-a-webpage members.
"Bestselling author of development, eCommerce and marketing books." ~ Wikipedia
I am a serial entrepreneur and startup founder. I also consult to huge corporates and SMEs - providing insight and experience that relates business objectives to technical, analytical, Internet marketing, and SEO solutions. Tell me what your business needs; and I'll make it so.
"World class content, business, SEO & Internet marketing services!"
David Mercer
Get the weekly expertise, strategies & tips you need to succeed online!
Current projects
OO PHP Web service ACO solution to TSP
Building an OO PHP web service application using ACO (Ant colony optimization) as a stochastic and heuristic way to solve the TSP (Traveling Salesman Problem) for the UK vehicle and fleet tracking firm 3D Tracking.
"Doctoral level maths, OOP, PHP and ants. Having nightmares about ants... ;)"
PHP and Views customizations for Drupal startup
Doing some heavy Views and PHP customizations for an SA startup called ZAPlayGround (not yet launched). Just worked out that Views won't pick up taxonomy terms from URL (path) aliases in organic group contextual block.
Provided a PHP default argument script to manually generate the path alias from the NID.
"It's working! Now to clone the view and away we go."
Business, marketing, SEO, social web analysis
Large corporate - NDA'd. Looking at business requirements, and how to improve the workflow with regards to creating social and SEO marketing content in the most efficient way. Complex requirements. Lots of stakeholders.
"Always interesting working with large organizations. Getting things done requires approval in triplicate ;)"



















