dea Z’s Still Not Dead Baby, Z’s Still Not Dead By 24ways.org Published On :: Tue, 10 Dec 2019 12:00:00 +0000 Andy Clarke digs deep into snow to find ways flat design can be brought back to life in CSS with the use of techniques to create a sense of depth. Like spring after an everlasting winter, perhaps it’s time to let a different style of design flourish. What a relief. A reaction to overly ornamental designs, flat design has been the dominant aesthetic for almost a decade. As gradients, patterns, shadows, and three-dimensional skeuomorphism fell out of fashion, designers embraced solid colours, square corners, and sharp edges. Anti-skeuomorphism no doubt helped designers focus on feature design and usability without the distraction of what some might still see as flourishes. But, reducing both product and website designs to a bare minimum has had unfortunate repercussions. With little to differentiate their designs, products and websites have adopted a regrettable uniformity which makes it difficult to distinguish between them. Still, all fashions fade eventually. I’m hopeful that with the styling tools we have today, we’ll move beyond flatness and add an extra dimension. Here are five CSS properties which will bring depth and richness to your designs. To illustrate how you might use them, I’ve made this design for the 1961 Austin Seven 850, the small car which helped define the swinging sixties. The original Mini. Red, (British Racing) green, blue designs. Transparency with alpha values The simplest way to add transparency to a background colour, border, or text element is using alpha values in your colour styles. These values have been available in combination with RGB (red, green, blue) for years. In RGBA, decimal values below 1 make any colour progressively more transparent. 0 is the most transparent, 1 is the most opaque: body { color: rgba(255, 0, 153, .75); } Alpha values allow colour from a background to bleed through. Alpha values also combine with HSL (hue, saturation, lightness) to form HSLA: body { color: hsla(0, 0, 100, .75); } Currently a Working Draft, CSS Color Module Level 4 enables alpha values in RGB and HSL without the additional “A”: body { color: rgb(255, 0, 153, .75); /* color: hsl(0, 0, 100, .75); */ } This new module also introduces hexadecimal colours with alpha values. In this new value, the last two digits represent the transparency level, with FF producing 100% opacity and 00 resulting in 100% transparency. For the 75% opacity in my design, I add BF to my white hexadecimal colour: body { color: #ffffffbf; } Although there’s already wide support for hexadecimal, HSL, and RGB with alpha values in most modern browsers, the current version of Microsoft Edge for Windows has lagged behind. This situation will no doubt change when Microsoft move Edge to Chromium. 2. Use opacity Using the opacity property specifies the amount of opacity of any element (obviously) which allows elements below them in the stacking order to be all or partially visible. A value of 0 is most transparent, whereas 1 is most opaque. Opacity tints images with colour from elements behind them. This property is especially useful for tinting the colour of elements by allowing any colour behind them to bleed through. The British Motor Corporation logo in the footer of my design is solid white, but reducing its opacity allows it to take on the colour of the body element behind: [src*="footer"] { opacity: .75; } You might otherwise choose to use opacity values as part of a CSS filter. 0% opacity is fully transparent, while 100% is fully opaque and appears as if no filter has been applied. Applying a CSS filter is straightforward. First, declare the filter-function and then a value in parentheses: [src*="footer"] { filter: opacity(75%); } 3. Start blending Almost universally, contemporary browsers support the same compositing tools we’ve used in graphic design and photo editing software for years. Blend modes including luminosity, multiply, overlay, and screen can easily and quickly add depth to a design. There are two types of blend-mode. background-blend-mode defines how background layers blend with the background colour behind them, and with each other. My layered design requires three background images applied to the body element: body { padding: 2rem; background-color: #ba0e37; background-image: url(body-1.png), url(body-2.png), url(body-3.png); background-origin: content-box; background-position: 0 0; background-repeat: no-repeat; background-size: contain; } From left: Three background images. Far right: How images combine in a browser. You can apply different background-blend modes for each background image. Specify them in the same order as your background images and separate them with a comma: body { background-blend-mode: multiply, soft-light, hard-light; } Six background-blend-mode variations. When I need to apply an alternative colour palette, there’s no need to export new background assets. I can achieve results simply by changing the background colour and these background-blend modes. Backgrounds blend behind this brilliant little car. Sadly, there’s not yet support for blending modes in Edge, so provide an alternative background image for that browser: @supports not (background-blend-mode: normal) { body { background-image: url(ihatetimvandamme.png); } } mix-blend-mode, on the other hand, defines how an element’s content should blend with its ancestors. From left: Screen, overlay, and soft-light mix-blend-mode. To blend my Mini image with the background colours and images on the body, I add a value of hard-light, plus a filter which converts my full-colour picture to greyscale: [src*="figure"] { filter: grayscale(100%); mix-blend-mode: hard-light; } You can also use mix-blend-mode to add depth to text elements, like this headline and large footer paragraph in a green and yellow version of my design: .theme-green h1, .theme-green footer p:last-of-type { color: #f8Ef1c; mix-blend-mode: difference; } Text elements blend to add interest in my design. 4. Overlap with CSS Grid Whereas old-fashioned layout methods reinforced a rigid structure on website designs, CSS Grid opens up the possibility to layer elements without positioning or resorting to margin hacks. The HTML for my design is semantic and simple: <body> <p>You’ve never seen a car like it</p> <h1><em>1961:</em> small car of the year</h1> <figure> <img src="figure.png" alt="Austin Seven 850"> <figcaption> <ul> <li>Austin Super Seven</li> <li>Morris Super Mini-Minor</li> <li>Austin Seven Cooper</li> <li>Morris Mini-Cooper</li> </ul> <figcaption> </figure> <footer> <p>Today’s car is a Mini</p> <p>Austin Seven 850</p> <img src="footer.png" alt="Austin Seven 850"> <footer> </body> I begin by applying a three-column symmetrical grid to the body element: @media screen and (min-width : 48em) { body { display: grid; grid-template-columns: 1fr 1fr 1fr; } } Three-column symmetrical grid with column and row lines over my design. Then, I place my elements onto that grid using line numbers: body > p { grid-column: 1 / -1; } h1 { grid-column: 1 / 3; } figure { grid-column: 1 / -1; } footer { display: contents; } footer div { grid-column: 1 / 3; } [src*="footer"] { grid-column: 3 / -1; align-self: end; } As sub-grid has yet to see wide adoption, I apply a second grid to my figure element, so I may place my image and figcaption: figure { display: grid; grid-template-columns: 1fr 3fr; } figcaption { grid-column: 1; } [src*="figure"] { grid-column: 2; } Left: This conventional alignment lacks energy. Right: Overlapping content adds movement which makes my design more interesting overall. Previewing the result in a browser shows me the energy associated with driving this little car is missing. To add movement to my design, I change the image’s grid-column values so it occupies the same space as my caption: figcaption { grid-column: 1; grid-row: 3; } [src*="figure"] { grid-column: 1 / -1; grid-row: 3; padding-left: 5vw; } 5. Stack with z-index In geometry, the x axis represents horizontal, the y axis represents vertical. In CSS, the z axis represents depth. Z-index values can be either negative or positive and the element with the highest value appears closest to a viewer, regardless of its position in the flow. If you give more than one element the same z-index value, the one which comes last in source order will appear on top. Visualisation of z-index illustrates the depth in this design. It’s important to remember that z-index is only applied to elements which have their position property set to either relative or absolute. Without positioning, there is no stacking. However, z-index can be used on elements placed onto a grid. All techniques combined to form a design which has richness and depth. As the previous figure image and figcaption occupy the same grid columns and row, I apply a higher z-index value to my caption to bring it closer to the viewer, despite it appearing before the picture in the flow of my content: figcaption { grid-column: 1; grid-row: 3; z-index: 2; } [src*="figure"] { grid-column: 1 / -1; grid-row: 3; z-index: 1; } Z’s not dead baby, Z’s not dead While I’m not advocating a return to the worst excesses of skeuomorphism, I hope product and website designers will realise the value of a more vibrant approach to design; one which appreciates how design can distinguish a brand from its competition. I’m incredibly grateful to Drew and his team of volunteers for inviting me to write for this incredible publication every year for the past fifteen years. As I closed my first article here on this day all those years ago, “Have a great holiday season!” Z’s still not dead baby, Z’s still not dead. About the author Andy Clarke is one of the world’s best-known website designers, consultant, speaker, and writer on art direction and design for products and websites. Andy founded Stuff & Nonsense in 1998 and for 20 years has helped companies big and small to improve their website and product designs. Andy’s the author of four web design books including ‘Transcending CSS,’ ‘Hardboiled Web Design’ and ‘Art Direction for the Web’. He really, really loves gorillas. More articles by Andy Full Article Design design
dea An idea whose time has come By www.thehindu.com Published On :: Mon, 24 Oct 2016 14:38:14 +0530 Ritu Beri revisits khadi with her new collection called Vichar Vastra Full Article Metroplus
dea What’s the deal with Indian food? By www.thehindu.com Published On :: Sat, 26 Mar 2016 16:01:50 +0530 One simple step to modify our perfectly balanced native diet to suit today’s lifestyle Full Article Fitness
dea The reel deal: Unconventional Tamil Instagram influencers on their rapid success By www.thehindu.com Published On :: Thu, 13 Oct 2022 16:36:22 +0530 Meet the Tamil influencers who rely on staying grounded, as they cook, eat and work out, drawing massive follower counts along the way Full Article MetroPlus
dea Editorial. Retrograde idea By www.thehindubusinessline.com Published On :: Thu, 18 Jul 2024 21:02:47 +0530 Karnataka jobs Bill should be scrapped Full Article Editorial
dea Editorial. A big deal By www.thehindubusinessline.com Published On :: Sun, 15 Sep 2024 21:22:54 +0530 New competition rules for M&A are pragmatic Full Article Editorial
dea Naidu sets June deadline for completion of new terminal building at Vijayawada airport By www.thehindu.com Published On :: Sat, 09 Nov 2024 22:01:31 +0530 Chief Minister suggests changes in the design of the expansion works to reflect Andhra Pradesh’s culture and heritage Full Article Andhra Pradesh
dea Child mauled to death by stray dogs in A.P.’s NTR district By www.thehindu.com Published On :: Tue, 12 Nov 2024 11:58:58 +0530 Vijayawada Parliament Member, Kesineni Sivanath, SCPCR Chairman Kesali Appa Rao expressed concern over the death of the boy, directs VMC, Panchayat Raj officials to take steps to prevent dog menace Full Article Andhra Pradesh
dea Ideals, varieties, and algorithms [electronic resource] : an introduction to computational algebraic geometry and commutative algebra / David A. Cox, John Little, Donal O'Shea By darius.uleth.ca Published On :: New York : Springer, 2007 Full Article
dea Rape and murder of 8-year-old girl in Mangaluru: Three accused sentenced to death By www.thehindu.com Published On :: Fri, 08 Nov 2024 22:20:48 +0530 Full Article Mangaluru
dea Death of 47-year-old woman sparks protest by residents in Mangaluru By www.thehindu.com Published On :: Sun, 10 Nov 2024 07:00:00 +0530 Full Article Mangaluru
dea Body of man found on railway track in Mulky; wife and son found dead in room By www.thehindu.com Published On :: Sun, 10 Nov 2024 07:00:00 +0530 Mangaluru police claim 32-year-old resident of Mulky allegedly killed his 27-year-old wife and their four-year-old son before ending his life on a railway track Full Article Mangaluru
dea Udupi police to handover Sunday’s lock up death case to CID By www.thehindu.com Published On :: Sun, 10 Nov 2024 20:14:34 +0530 Full Article Mangaluru
dea PSI, head constable suspended in Brahmavar lock up death case By www.thehindu.com Published On :: Mon, 11 Nov 2024 22:17:42 +0530 Full Article Mangaluru
dea Indian Sign Language: So the deaf can hear music By www.thehindu.com Published On :: Sat, 26 Oct 2024 16:57:20 +0530 Experience of profound deaf individual at live concert with Indian Sign Language interpreters, highlighting ISL expansion and community empowerment Full Article Education
dea ‘Vinaro Bhagyamu Vishnu Katha’ movie review: A concoction of absurd ideas By www.thehindu.com Published On :: Sat, 18 Feb 2023 13:12:14 +0530 The twists and turns notwithstanding, it’s tough to sit through the Telugu film ‘Vinaro Bhagyamu Vishnu Katha’ Full Article Movies
dea ‘Balagam’ movie review: Death and drama, wrapped in humour By www.thehindu.com Published On :: Sat, 04 Mar 2023 12:07:00 +0530 ‘Balagam’, first-time director Venu Yeldandi’s Telugu indie-style drama starring Priyadarshi, is outrageously funny while holding a mirror to fractured familial ties and human behaviour Full Article Movies
dea “Indians find Ireland ideal” By www.thehindu.com Published On :: Sun, 11 Oct 2015 17:00:32 +0530 Full Article Careers
dea The Teen’s Ultimate Guide to Making Money When You Can’t Get a Job: 199 Ideas for Earning Cash On Your Own Terms By atlanticpub.wordpress.com Published On :: Tue, 31 Jul 2012 19:58:47 +0000 Whether it was in a department store, fast-food chain, or kiosk in the mall, everyone remembers his or her first job — even more so, you probably remember that first paycheck. But with the current job crisis, it has become harder and harder to enjoy the fruits of your labor. As of October 2011, the […] Full Article Publisher
dea Correction: Sustainable polymeric adsorbents for adsorption-based water remediation and pathogen deactivation: a review By pubs.rsc.org Published On :: RSC Adv., 2024, 14,35104-35104DOI: 10.1039/D4RA90129K, Correction Open Access   This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.Huda Alkhaldi, Sarah Alharthi, Salha Alharthi, Hind A. AlGhamdi, Yasmeen M. AlZahrani, Safwat A. Mahmoud, Lamiaa Galal Amin, Nora Hamad Al-Shaalan, Waleed E. Boraie, Mohamed S. Attia, Samera Ali Al-Gahtany, Nadiah Aldaleeli, Mohamed Mohamady Ghobashy, A. I. Sharshir, Mohamed Madani, Reem Darwesh, Sana F. AbazaThe content of this RSS Feed (c) The Royal Society of Chemistry Full Article
dea Assam floods claim 8 more lives, death toll 46 By www.thehindu.com Published On :: Thu, 04 Jul 2024 04:25:00 +0530 Three persons reported missing as rising waters affect 16.25 lakh people across 29 districts Full Article Other States
dea Assam floods: Six more dead as toll mounts to 52; over 21 lakh people affected By www.thehindu.com Published On :: Fri, 05 Jul 2024 12:40:00 +0530 At least seven districts of Arunachal Pradesh cut off due to landslides; eight persons, including two children, killed in rain-induced landslides and floods in Manipur, Mizoram and Tripura Full Article Assam
dea Wild elephant tramples four to death in Chhattisgarh’s Jashpur By www.thehindu.com Published On :: Sun, 11 Aug 2024 01:00:00 +0530 The jumbo was being tracked by forest officials when it entered the village Full Article Other States
dea Kolkata doctor rape and murder: Victim had 10 injuries, death due to throttling and smothering By www.thehindu.com Published On :: Wed, 14 Aug 2024 00:40:00 +0530 Signs of sexual assault evident in inquest and post-mortem report Full Article Kolkata
dea Three budding hockey players struck dead by lightning in Jharkhand By www.thehindu.com Published On :: Thu, 15 Aug 2024 03:45:00 +0530 The players were going to participate in a hockey competition in Jhapla of the Tutikela Panchayat, and they stood under a tree to avoid the rain Full Article Jharkhand
dea Naga tribes body issues deadline to Nagaland government for feedback on autonomous territory By www.thehindu.com Published On :: Sat, 12 Oct 2024 18:45:17 +0530 The Eastern Nagaland People’s Organisation wants the creation of Frontier Nagaland Territory comprising six districts of the northeastern State bordering Myanmar Full Article Nagaland
dea NSCN (I-M) seeks third-party intervention to break talks deadlock By www.thehindu.com Published On :: Sat, 09 Nov 2024 00:17:00 +0530 Accusing the Centre of betraying the Framework Agreement of 2015, the Naga extremist group led by Thuingaleng Muivah threatened to return to violent ways Full Article Nagaland
dea Former high jump world champion Freitag found dead in South Africa By www.thehindu.com Published On :: Wed, 03 Jul 2024 21:25:50 +0530 Freitag won world championships at youth, junior, and senior levels. He took gold in the high jump at the 2003 World Championships in Paris Full Article Athletics
dea Hurricane Milton leaves 16 dead and millions without power in Florida By www.thehindubusinessline.com Published On :: Fri, 11 Oct 2024 18:36:02 +0530 The hurricane, among the most intense in the Atlantic, has incurred a lowered insurance cost estimate of $30 to $60 billion. Full Article World
dea Nijjar killing: Canadian PM Trudeau admits he had no hard proof when he alleged Indian agents' involvement By www.thehindubusinessline.com Published On :: Thu, 17 Oct 2024 00:45:22 +0530 Trudeau admits intelligence, not evidence, behind claims of Indian involvement in Nijjar’s killing. Full Article World
dea At least 126 dead and missing in massive flooding, landslides in Philippines By www.thehindubusinessline.com Published On :: Sun, 27 Oct 2024 09:31:45 +0530 Weather has cleared in many areas on Saturday, allowing cleanup work in most areas Full Article World
dea European banks to extend dealing with Indian clearing firms By www.thehindubusinessline.com Published On :: Mon, 28 Oct 2024 15:39:05 +0530 Europe’s authorities set the deadline last year after their request for co-supervision of European trades settled through Indian clearing houses was denied by the Reserve Bank of India Full Article Money & Banking
dea COP29 host Azerbaijan promoted fossil fuel deals ahead of climate summit, NGO says By www.thehindubusinessline.com Published On :: Sat, 09 Nov 2024 11:40:28 +0530 In a secretly recorded video, CEO of the COP29 talks offers to introduce a representative of a fake oil and gas company, to the Azeri national oil and gas company SOCAR Full Article News
dea Many supporters of Khalistan in Canada, but they do not represent Sikh Community: PM Trudeau By www.thehindubusinessline.com Published On :: Sat, 09 Nov 2024 15:47:31 +0530 His comments came during Diwali celebrations at Ottawa’s Parliament Hill recently amid an ongoing diplomatic row with India over the killing of Khalistan extremist Hardeep Singh Nijjar Full Article World
dea Trudeau warns US tariffs on Canada would ‘hurt American workers’ By www.thehindubusinessline.com Published On :: Sat, 09 Nov 2024 18:21:59 +0530 The Canadian leader appealed in his comments directly to the interests of Donald Trump, whose strategy throughout his election campaign was to win over blue-collar workers Full Article World
dea Real Madrid Liga match against Valencia postponed due to deadly floods By www.thehindu.com Published On :: Thu, 31 Oct 2024 20:19:20 +0530 Villarreal's home match against Rayo Vallecano was also suspended after the devastating flash floods in eastern Spain Full Article Football
dea Making sense of death By www.thehindu.com Published On :: Sun, 06 Oct 2024 03:05:12 +0530 Untimely death is scary because it may shatter the lives of the living Full Article Open Page
dea BJP made money from heaps of dead bodies during COVID-19, claims Dinesh Gundu Rao By www.thehindu.com Published On :: Mon, 11 Nov 2024 07:00:00 +0530 Full Article Karnataka
dea Oil firms hike commission paid to dealers, no rise in fuel prices By www.thehindu.com Published On :: Wed, 30 Oct 2024 03:21:00 +0530 Petrol and diesel prices will come down in States such as Odisha, Chhattisgarh, and Himachal Pradesh due to a rationalisation of intra-state freight. Oil Minister Hardeep Singh Puri welcomes move. Full Article Industry
dea TCS signs multi year deal with Air France-KLM to modernise the airline group’s data By www.thehindu.com Published On :: Thu, 07 Nov 2024 11:59:40 +0530 Over the next three years, TCS will modernise the airline group’s data by moving it to cloud, promoting the next generation of data-driven aviation. Full Article Business
dea Israel signs deal to acquire 25 F-15 fighter jets from Boeing Co By www.thehindu.com Published On :: Thu, 07 Nov 2024 13:33:25 +0530 Delivery of the F-15 aircraft will begin in 2031, with 4-6 aircraft to be supplied annually Full Article World
dea Kerala vlogger couple found dead at home in Parassala By www.thehindu.com Published On :: Sun, 27 Oct 2024 20:27:32 +0530 The Youtube couple was found dead by their son, who works as a home nursing trainee in Ernakulam. Full Article Kerala
dea Forensic expert testifies paraquat poisoning led to Sharon Raj’s death By www.thehindu.com Published On :: Thu, 07 Nov 2024 20:48:22 +0530 Victim had suffered from no prior co-morbidities, says Dhanya Raveendran, forensic surgeon of the Thiruvananthapuram police Full Article Kerala
dea Kannur ADM death: Court grants bail to Kerala CPI(M) leader P.P. Divya By www.thehindu.com Published On :: Fri, 08 Nov 2024 11:39:48 +0530 P.P. Divya, who had been in custody at a women’s jail for 11 days, argued that her cooperation with investigation justified her release on bail Full Article Kerala
dea Dead lizard found in meal sparks agitation at Digital University Kerala; mess temporarily closed By www.thehindu.com Published On :: Sun, 10 Nov 2024 21:20:30 +0530 The contractor responsible for providing food to over 200 students has claimed to have purchased the pickle from outside Full Article Kerala
dea Do online distributors selling direct funds offer better deal? By www.thehindubusinessline.com Published On :: Sun, 27 Aug 2017 21:53:31 +0530 Clearfunds CEO on how he plans to give best advice at lowest possible cost to investors Full Article People
dea How are lubricant firms dealing with oil price rise? By www.thehindubusinessline.com Published On :: Sun, 23 Sep 2018 16:15:18 +0530 To pass on the rise in input costs to customers, the industry has taken price increases Full Article People
dea Handbook of research methods in behavioural economics [electronic resource] : an interdisciplinary approach / edited by Morris Altman (Dean, University of Dundee School of Business, and Chair Professor of Behavioural and Institutional Economics and Co-ope By darius.uleth.ca Published On :: Cheltenham, UK ; Northampton, MA, USA : Edward Elgar Publishing, [2023] Full Article
dea Bihar News: Railway Employee Crushed To Death After Getting Trapped Between Engine & Bogie By Published On :: Sunday, November 10, 2024, 00:46 +0530 It took rescue personnel nearly two hours to retrieve the body of the deceased railway employee, leaving an atmosphere of shock and grief at the station. Full Article
dea Egyptian court cancels death sentence of Morsi, Badie By www.thehindu.com Published On :: Tue, 15 Nov 2016 18:28:56 +0530 Full Article World