hi Deputy Chief Minister launches initiatives to support start-up ecosystem in T.N. By www.thehindu.com Published On :: Tue, 12 Nov 2024 21:33:32 +0530 He also presents sanction letters for pre-incubation centres, which aim to support innovative business ideas in their initial stages Full Article Tamil Nadu
hi Chain stretching in brushes favors sequence recognition for nucleobase-functionalized flexible precise oligomers By pubs.rsc.org Published On :: Soft Matter, 2024, 20,8303-8311DOI: 10.1039/D4SM00866A, PaperKseniia Grafskaia, Qian Qin, Jie Li, Delphine Magnin, David Dellemme, Mathieu Surin, Karine Glinel, Alain M. JonasFlexible oligomers having precise sequences of nucleobases do not specifically recognize surface-grafted target chains at low grafting density. Moderately higher grafting densities promote sequence-specific recognition thanks to chain stretching.The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
hi Emulsifying mechanisms of phospholipids in high-pressure homogenization of perfluorocarbon nanoemulsions By pubs.rsc.org Published On :: Soft Matter, 2024, 20,8373-8384DOI: 10.1039/D4SM00828F, Paper Open Access   This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.Larissa J. Lubitz, Harden Rieger, Gero LeneweitAn optimized PFC/W emulsion contains 1 mM lipid per 1% (v/v) dispersed phase for an emulsifying monolayer; higher ratios result in triple layers. Low viscosity ratios ηD/ηC ≤ 5 and low PFC volume fractions lead to smaller monodisperse droplets.The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
hi Effective patchiness from critical points of a coarse-grained protein model with explicit shape and charge anisotropy By pubs.rsc.org Published On :: Soft Matter, 2024, 20,8455-8467DOI: 10.1039/D4SM00867G, Paper Open Access   This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.Jens Weimar, Frank Hirschmann, Martin OettelCritical points of an anisotropic, coarse-grained protein model are used to detemine an “effective patchiness” by comparison to the Kern–Frenkel patchy model.The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
hi Segregative phase separation of strong polyelectrolyte complexes at high salt and high polymer concentrations By pubs.rsc.org Published On :: Soft Matter, 2024, 20,8505-8514DOI: 10.1039/D4SM00994K, Paper Open Access   This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.Conner H. Chee, Rotem Benharush, Lexi R. Knight, Jennifer E. LaaserComplexes of strong polyelectrolytes prepared well above the binodal are shown to undergo hydrophobicity-driven segregative phase separation.The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
hi Self-assembly of amphiphilic homopolymers grafted onto spherical nanoparticles: complete embedded minimal surfaces and a machine learning algorithm for their recognition By pubs.rsc.org Published On :: Soft Matter, 2024, 20,8385-8394DOI: 10.1039/D4SM00616J, PaperD. A. Mitkovskiy, A. A. Lazutin, A. L. Talis, V. V. VasilevskayaAmphiphilic macromolecules grafted onto spherical nanoparticles can self-assemble into morphological structures corresponding to the family of complete embedded minimal surfaces. They arise situationally, can coexist and transform into each other.The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
hi Retraction: Self-assembled organic nanotubes embedding hydrophobic molecules within solid bilayer membranes By pubs.rsc.org Published On :: Soft Matter, 2024, Advance ArticleDOI: 10.1039/D4SM90171A, Retraction Open Access   This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.Naohiro Kameta, Masumi Asakawa, Mitsutoshi Masuda, Toshimi ShimizuTo cite this article before page numbers are assigned, use the DOI form of citation above.The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
hi Thickness-dependent response of aerosol-jet-printed ultrathin high-aspect-ratio electrochemical microactuators By pubs.rsc.org Published On :: Soft Matter, 2024, Accepted ManuscriptDOI: 10.1039/D4SM00886C, Paper Open Access   This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.Ji Zhang, Jeremy J. Baumberg, Sohini Kar-NarayanTrilayer electrochemical actuators comprising an electrolyte layer sandwiched between two electrode layers have been shown to exhibit large deformations at low actuation voltages. Here we report aerosol-jet printing (AJP) of...The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
hi Long-lived unidirectional flow of active particles within long narrow channels By pubs.rsc.org Published On :: Soft Matter, 2024, Advance ArticleDOI: 10.1039/D4SM00879K, PaperMan Xu, Ying Lan, Yuehua Yang, Hongyuan JiangWe present the dynamics of particles in a device divided into two chambers by V-shaped barriers and connected by a narrow channel. Here three distinct movement modes occur, including stochastic movement, oscillation and unidirectional flows.To cite this article before page numbers are assigned, use the DOI form of citation above.The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
hi Enhanced chemotaxis efficiency of Escherichia coli in viscoelastic solutions By pubs.rsc.org Published On :: Soft Matter, 2024, 20,8675-8683DOI: 10.1039/D4SM01094A, PaperShaoying Zhu, Rui He, Caijuan Yue, Rongjing Zhang, Junhua YuanE. coli shows enhanced chemotaxis in viscoelastic media, with faster migration and higher accumulation in attractant-rich areas compared to Newtonian conditions.The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
hi Entropically and enthalpically driven self-assembly of a naphthalimide-based luminescent organic π-amphiphile in water By pubs.rsc.org Published On :: Soft Matter, 2024, 20,8684-8691DOI: 10.1039/D4SM00986J, PaperSk Mursed Ali, Sujauddin Sk, Shuvajyoti Sarkar, Sayani Das, Nayim Sepay, Mijanur Rahaman MollaEntropically and enthalpically favourable vesicular self-assembly of a naphthalimide based water soluble luminescent organic dipolar building block is reported.The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
hi Bending of polymer films: a method for obtaining a compressive modulus of thin films By pubs.rsc.org Published On :: Soft Matter, 2024, 20,8589-8600DOI: 10.1039/D4SM00084F, PaperAkihiro Ohara, Ko OkumuraWe constructed a theory and method for measuring the compressive modulus by combining tensile and bending tests. Elastic asymmetry was confirmed in an industrial PET film.The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
hi Thin free-standing liquid films manipulation: device design to turn on/off gravity in flow regimes for thickness map control and for material structuring By pubs.rsc.org Published On :: Soft Matter, 2024, Advance ArticleDOI: 10.1039/D4SM00951G, Paper Open Access   This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.Paolo Iaccarino, Zhe Wang, Andrea Marfuggi, Simone Russo, Vincenzo Ferraro, Giuseppe Vitiello, Sara Coppola, Ernesto Di MaioWe design a device to control liquid film drainage, able to switch between viscous-capillary and viscous-gravity regimes to stabilize thickness and modify particle arrangement, offering potential for film studies and 2D structure fabrication.To cite this article before page numbers are assigned, use the DOI form of citation above.The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
hi Dynamics of switching processes: general results and applications to intermittent active motion By pubs.rsc.org Published On :: Soft Matter, 2024, Accepted ManuscriptDOI: 10.1039/D4SM01054J, Paper Open Access   This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.Ion Santra, Deepak Gupta, Kristian S OlsenSystems switching between different dynamical phases is an ubiquitous phenomenon. The general understanding of such a process is limited. To this end, we present a general expression that captures fluctuations...The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
hi Supramolecular chiroptical sensing of chiral species based on circularly polarized luminescence By pubs.rsc.org Published On :: Soft Matter, 2024, Advance ArticleDOI: 10.1039/D4SM00960F, Review ArticlePanyang Chen, Huahua Fan, Sifan Du, Xin Wen, Li Zhang, Minghua LiuChiral analytes can bind to an achiral fluorescent system to generate circularly polarized luminescence (CPL). Subsequently, the CPL signal can be employed to determine the absolute configuration of the chiral substrate.To cite this article before page numbers are assigned, use the DOI form of citation above.The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
hi Reversible pH-responsive supramolecular aggregates from viologen based amphiphiles – A molecular design perspective By pubs.rsc.org Published On :: Soft Matter, 2024, Accepted ManuscriptDOI: 10.1039/D4SM00695J, PaperRedhills L. Narendran, Archita PatnaikpH responsive self-assembled supramolecular systems in water hold tremendous promise spanning across the various realms of science and technology. Herein, we report the design and synthesis of benzyl viologen (BV)...The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
hi Biomimetic mineralization of positively charged silica nanoparticles templated by thermoresponsive protein micelles: applications to electrostatic assembly of hierarchical and composite superstructures By pubs.rsc.org Published On :: Soft Matter, 2024, Advance ArticleDOI: 10.1039/D4SM00907J, PaperNada Y. Naser, William C. Wixson, Helen Larson, Brandi M. Cossairt, Lilo D. Pozzo, François BaneyxExploiting the ability of a solid-binding elastin-like peptide to micellize, we mineralize monodisperse silica nanoparticles whose positive surface charge enables one-step electrostatic assembly of various mono- and bi-material superstructures.To cite this article before page numbers are assigned, use the DOI form of citation above.The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
hi Can Guava, Chikoo, Papaya Reduce Blood Sugar? By www.rediff.com Published On :: Wed, 08 May 2024 12:15:02 +0530 rediffGURU Komal Jethmalani, a diabetes expert and dietician, has the answer for you. Full Article
hi A History of CSS Through Fifteen Years of 24 ways By 24ways.org Published On :: Mon, 16 Dec 2019 12:00:00 +0000 Rachel Andrew guides us through a tour of the last fifteen years in CSS layout, as manifested in articles here on 24 ways. From the days when Internet Explorer 6 was de rigueur, right up to the modern age of evergreen browsers, the only thing you can be sure of is that the web never stands still for long. I’ve written nine articles in the 15 years of 24 ways, and all but one of those articles had something to do with CSS. In this last year of the project, I thought I would take a look back at those CSS articles. It’s been an interesting journey, and by reading through my words from the last 15 years I discovered not only how much the web platform has evolved - but how my own thinking has shifted with it. 2005: CSS layout starting points Latest web browser versions: Internet Explorer 6 (at this point 4 years old), IE5.1 Mac, Netscape 8, Firefox 1.5, Safari 2 Fifteen years ago, my contributions to 24 ways started with a piece about CSS layout. That article explored something I had been using in my own work. In 2005, most of the work I was doing was building websites from Photoshop files delivered to me by my design agency clients. I’d built up a set of robust, tried-and-tested CSS layouts to use to implement these. My starting point when approaching any project was to take a look at the static comps and figure out which layout I would use: Liquid, multiple column with no footer Liquid, multiple column with footer Fixed width, centred At that point, there were still many sites being shipped with table-based layouts. We had learned how to use floats to create columns some four years earlier, however layout was still a difficult and often fragile thing. By developing patterns that I knew worked, where I had figured out any strange bugs, I saved myself a lot of time. Of course, I wasn’t the only person thinking in this way. The two sites from which the early CSS for layout enthusiasts took most of their inspiration, had a library of patterns for CSS layout. The Noodle Incident little boxes is still online, glish.com/css is sadly only available at the Internet Archive. which one of the two possible websites are you currently designing? pic.twitter.com/ZD0uRGTqqm— Jon Gold (@jongold) February 2, 2016 This thinking was taken to a much greater extreme in 2011, when Twitter Bootstrap launched and starting with an entire framework for layout and much more became commonplace across the industry. While I understand the concern many folk have about every website ending up looking the same, back in 2005 I was a pragmatist. That has not changed. I’ve always built websites and run businesses alongside evangelizing web standards and contributing to the platform. I’m all about getting the job done, paying the bills, balancing that with trying to make things better so we don’t need to make as many compromises in the future. If that means picking from one of a number of patterns, that is often a very reasonable approach. Not everything needs to be a creative outpouring. Today however, CSS Grid Layout and Flexbox mean that we can take a much more fluid approach to developing layouts. This enables the practical and the creative alike. The need for layout starting points - whether simple like mine, or a full framework like Bootstrap - seems to be decreasing, however in their place comes an interest in component libraries. This approach to development partly enabled by the fact that new layout makes it possible to drop a component into the middle of a layout without blowing the whole thing up. 2006: Faster Development with CSS Constants Latest web browser versions: Internet Explorer 7, Netscape 8.1, Firefox 2, Safari 2 My article in 2006 was once again taken from the work I was doing as a developer. I’ve always been as much, if not more of a backend developer than a frontend one. In 2006, I was working in PHP on custom CMS implementations. These would also usually include the front-end work. Along with several other people in the industry I’d been experimenting with ways to use CSS “constants” as we all seemed to call them, by processing the CSS with our server-side language of choice. The use case was mostly for development, although as a CMS developer, I could see the potential of allowing these values to be updated via the CMS. Perhaps to allow a content editor to change a color scheme. Also in 2006, the first version of Sass was released, created by Hampton Catlin and Natalie Weizenbaum. Sass, LESS and other pre-processors began to give us a more streamlined and elegant way to achieve variables in CSS. In 2009, the need for pre-processors purely for variables is disappearing. CSS now has Custom Properties - something I did not foresee in 2006. These “CSS Variables” are far more powerful than swapping out a value in a build process. They can be changed dynamically, based on something changing in the environment, rather than being statically set at build time. 2009: Cleaner Code with CSS3 Selectors Latest web browser versions: Internet Explorer 8, Firefox 3.5, Safari 4, Chrome 3 After a break from writing for 24 ways, in 2009 I wrote this piece about CSS3 Selectors, complete with jQuery fallbacks due to the fact that some of these selectors were not usable in Internet Explorer 8. Today these useful selectors have wide browser support, we also have a large number of new selectors which are part of the Level 4 specification. The changes section of the Level 4 spec gives an excellent rundown of what has been added over the years. Browser support for these newer selectors is more inconsistent, MDN has an excellent list with the page for each selector detailing current browser support and usage examples. 2012: Giving Content Priority with CSS3 Grid Layout Latest web browser versions: Internet Explorer 10, Firefox 17, Safari 6, Chrome 23 My 2012 piece was at the beginning of my interest in the CSS Grid Layout specification. Earlier in 2012 I had attended a workshop given by Bert Bos, in which he demonstrated some early stage CSS modules, including the CSS Grid Layout specification. I soon discovered that there would be an implementation of Grid in IE10, the new browser shipped in September of 2012 and I set about learning how to use Grid Layout. This article was based on what I had learned. The problem of source versus visual order As a CMS developer I immediately linked the ability to lay out items and prioritize content, to the CMS and content editors. I was keen to find ways to allow content editors to prioritize content across breakpoints, and I felt that Grid Layout might allow us to do that. As it turned out, we are still some way away from that goal. While Grid does allow us to separate visual display from source order, it can come at a cost. Non-visual browsers, and the tab order of the document follow the source and not the visual display. This makes it easy to create a disconnected and difficult to use experience if we essentially jumble up the display of elements, moving them away from how they appear in the document. I still think that an issue we need to solve is how to allow developers to indicate that the visual display should be considered the correct order rather than the document order. The Grid Specification moved on Some of the issues in this early version of the grid spec were apparent in my article. I needed to use a pre-processor, to calculate the columns an element would span. This was partly due to the fact that the early grid specifications did not have a concept of the gap property. In addition the initial spec did not include auto-placement and therefore each item had to be explicitly placed onto the grid. The basics of the final specification were there, however over the years that followed the specification was refined and developed. We got gaps, and auto-placement, and the grid-template-areas property was introduced. By the time Grid shipped in Firefox, Chrome, and Safari many of the sticky things I had encountered when writing this article were resolved. 2015: Grid, Flexbox, Box Alignment: Our New System for Layout Latest web browser versions: Edge 13, Firefox 43, Safari 9, Chrome 47 Grid still hadn’t shipped in more browsers but the specification had moved on. We had support for gaps, with the grid-row-gap, grid-column-gap and grid-gap properties. My own thinking about the specification, and the related specifications had developed. I had started teaching grid not as a standalone module, but alongside Flexbox and Box Alignment. I was trying to demonstrate how these modules worked together to create a layout system for modern web development. Another place my thinking had moved on since my initial Grid article in 2012, was in terms of content reordering and accessibility. In July of 2015 I wrote an article entitled, Modern CSS Layout, Power and Responsibility in which I outlined these concerns. Some things change, and some stay the same. The grid- prefixed gap properties were ultimately moved into the Box Alignment specification in order that they could be defined for Flex layout and any other layout method which in future required gaps. What I did not expect, was that four years on I would still be being asked about Grid versus Flexbox: “A question I keep being asked is whether CSS grid layout and flexbox are competing layout systems, as though it might be possible to back the loser in a CSS layout competition. The reality, however, is that these two methods will sit together as one system for doing layout on the web, each method playing to certain strengths and serving particular layout tasks.” 2016: What next for CSS Grid Layout? Latest web browser versions: Edge 15, Firefox 50, Safari 10, Chrome 55 In 2016, we still didn’t have Grid in browsers, and I was increasingly looking like I was selling CSS vaporware. However, with the spec at Candidate Recommendation, and it looking likely that we would have grid in at least two browsers in the spring, I wrote an article about what might come next for grid. The main subject was the subgrid feature, which had by that point been removed from the Level 1 specification. The CSS Working Group were still trying to decide whether a version of subgrid locked to both dimensions would be acceptable. In this version we would have declared display: subgrid on the grid item, after which its rows and columns would be locked to the tracks of the parent. I am very glad that it was ultimately decided to allow for one-dimensional subgrids. This means that you can use the column tracks of the parent, yet have an implicit grid for the rows. This enables patterns such as the one I described in A design pattern solved by subgrid. At the end of 2019, we don’t yet have wide browser support for subgrid, however Firefox has already shipped the value in Firefox 71. Hopefully other browsers will follow suit. Level 2 of the grid specification ultimately became all about adding support for subgrid, and so we don’t yet have any of the other features I mentioned in that piece. All of those features are detailed in issues in the CSS Working Group Github repo, and aren’t forgotten about. As we come to decide features for Level 3, perhaps some of them will make the cut. It was worth waiting for subgrid, as the one-dimensional version gives us so much more power, and as I take a look back over these 24 ways articles it really underlines how much of a long game contributing to the platform is. I mentioned in the closing paragraph of my 2016 article that you should not feel ignored if your idea or use case is not immediately discussed and added to a spec, and that is still the case. Those of us involved in specifying CSS, and in implementing CSS in browsers care very much about your feedback. We have to balance that with the need for this stuff to be right. 2017: Christmas Gifts for Your Future Self: Testing the Web Platform Latest web browser versions: Edge 16, Firefox 57, Safari 11, Chrome 63 In 2017 I stepped away from directly talking about layout, and instead published an article about testing. Not about testing your own code, but about the Web Platform Tests project, and how contributing to the tests which help to ensure interoperability between browsers could benefit the platform - and you. This article is still relevant today as it was two years ago. I’m often asked by people how they can get involved with CSS, and testing is a great place to start. Specifications need tests in order to progress to become Recommendations, therefore contributing tests can materially help the progress of a spec. You can also help to free up the time of spec editors, to make edits to their specs, by contributing tests they might otherwise need to work on. The Web Platform Tests project has recently got new and improved documentation. If you have some time to spare and would like to help, take a look and see if you can identify some places that are in need of tests. You will learn a lot about the CSS specs you are testing while doing so, and you can feel that you are making a useful and much-needed contribution to the development of the web platform. 2018: Researching a Property in the CSS Specifications Latest web browser versions: Edge 17, Firefox 64, Safari 12, Chrome 71 I almost stayed away from layout in my 2018 piece, however I did feature the Grid Layout property grid-auto-rows in this article. If you want to understand how to dig up all the details of a CSS property, then this article is still useful. One thing that has changed since I began writing for 24 ways, is the amount of great information available to help you learn CSS. Whether you are someone who prefers to read like me, or a person who learns best from video, or by following along with a tutorial, it’s all out there for you. You don’t have to rely on understanding the specifications, though I would encourage everyone to become familiar with doing so, if just to be able to fact check a tutorial which seems to be doing something other than the resulting code. 2019: And that’s a wrap Latest web browser versions: Edge 18, Firefox 71, Safari 12, Chrome 79 This year is the final countdown for 24 ways. With so many other publications creating great content, perhaps there is less of a need for an avalanche of writing in the closing days of each year. The archive will stay as a history of what was important, what we were thinking, and the problems of the day - many of which we have now solved in ways that the authors could never have imagined at the time. I can see through my articles how my thinking evolved over the years, and I’m as excited about what comes next as I was back in 2005, wondering how to make CSS layout easier. About the author Rachel Andrew is a Director of edgeofmyseat.com, a UK web development consultancy and creators of the small content management system, Perch; a W3C Invited Expert to the CSS Working Group; and Editor in Chief of Smashing Magazine. She is the author of a number of books including The New CSS Layout for A Book Apart and a Google Developer Expert for Web Technologies. She curates a popular email newsletter on CSS Layout, and is passing on her layout knowledge over at her CSS Layout Workshop. When not writing about business and technology on her blog at rachelandrew.co.uk or speaking at conferences, you will usually find Rachel running up and down one of the giant hills in Bristol, or attempting to land a small aeroplane while training for her Pilot’s license. More articles by Rachel Full Article Code css
hi A Modern Typographic Scale By 24ways.org Published On :: Thu, 19 Dec 2019 12:00:00 +0000 Rob Weychert reaches for the top notes to sing us a song of typographic scale. A little attention to scale and to the mathematics will help you to hit a high note with your designs this Christmas and beyond. I’ve been studying music theory this year. While some of its core concepts were already familiar to me, much of their specifics were not. Or so I thought. A funny thing happened when I was learning the major scales. While playing through a song I had written some years before, I started picking it apart to see how it correlated with the theory I was learning. I had composed the melody without any thought to what the specific notes were, but as I started to transcribe them, a pattern quickly emerged: all the B’s and E’s were flat and the rest of the notes were natural. Lo and behold, long before my music theory studies began, I had written a song in B♭ major. My ears already knew how the major scales worked even if my brain didn’t. (If you know how “do re mi fa so la ti do” is supposed to sound tonally, then your ears know, too.) When music is composed to a scale, it sounds “right” to us. And just as our ears appreciate harmony and melody with a rational basis, our eyes can appreciate the same concepts applied to spatial relationships. Have you ever struggled with sizing type in a design project, especially when you need more than just one or two sizes? Have you ever despaired at the number of ad-hoc type sizes on your site spiraling out of control over time? It could be that you’ve been composing the typographic equivalent of a cacophonous symphony. And the first thing any composer will tell you to do is to get that thing on a scale. Meet the typographic scale You don’t need to know music theory to work with a typographic scale. You only need to know that a scale is a range of values with an established mathematic relationship. For a typographic scale, that relationship is frequently a steady interval between type sizes. Depending on what you need your type to do, the interval might be fixed (e.g. each size is two pixels bigger than the size before it) or it might be proportional (e.g. each size is twice as big as the size before it). I personally rarely find fixed intervals useful, so I’ll be focusing on proportional intervals. The most important thing to understand about proportional intervals is thankfully not complicated: The bigger the intervals are, the more drastic the size differences will be in your scale. If your layout calls for contrast, a bigger interval might be the way to go. If you’re aiming for something more nuanced, go smaller. But keep these things in mind: There is such a thing as too much nuance: if a size on your scale is virtually indistinguishable from the sizes adjacent to it, it defeats the purpose of using a scale. On the flip side, too much contrast renders the sizes’ proportional relationship moot. At a certain point, massive display type is arguably more graphic than textual. More is less. The more sizes you use, the less they’ll mean. A small interval (left, 1.1) offers a smoother range of sizes; a large interval (right, 1.8) offers more contrast. Setting up the scale variables The quickest way to get a scale up and running when working on the web is to drop its values into some CSS variables. The naming convention I typically use begins with --scale0, which is the body text size. The size below it is --scale-1 (as in “scale minus one”), the size above it is --scale1, and so on. Keeping the names relative to each other like this helps me move around the scale intuitively as I use it. If, say, --scale4 isn’t big enough for my h1, I can move up to --scale5 or --scale6, and I always know exactly how many steps away from the body text I am. Here’s a first pass at a simple set of scale variables using an interval of 1.5: :root { --scale-2: 7.1px; /* 10.7 ÷ 1.5 */ --scale-1: 10.7px; /* 16 ÷ 1.5 */ --scale0: 16px; /* body text */ --scale1: 24px; /* 16 × 1.5 */ --scale2: 36px; /* 24 × 1.5 */ } I can use these variables with any CSS property that accepts a numeric value, like so: p { font-size: var(--scale0); } Rooting around in rems I’m off to a good start. However, those px values are a little too absolute for my liking. If I convert them to rems, it’ll give my scale more flexibility. rem stands for “root em.” 1rem is equivalent to the html element’s text size, which in most browsers defaults to 16px. Crucially, though, users can adjust that size in their browser settings, and using rems in my CSS will respect those preferences. :root { --scale-2: 0.4rem; /* 0.7rem ÷ 1.5 */ --scale-1: 0.7rem; /* 1rem ÷ 1.5 */ --scale0: 1rem; /* body text */ --scale1: 1.5rem; /* 1rem × 1.5 */ --scale2: 2.25rem; /* 1.5rem × 1.5 */ } Another benefit of the relative nature of rems: I tend to use larger text sizes on large viewports and smaller text sizes on small viewports. Rather than adjusting dozens or hundreds of typographic CSS declarations per breakpoint, I can shift the whole scale up or down merely by adjusting the font-size on the html element: html { font-size: 100%; } /* 1rem = 16px */ @media screen and (min-width: 25em) { html { font-size: 112.5%; } /* 1rem = 18px */ } Calculating with calc() My scale is coming along. Its variables’ intuitive names make it easy for me to use, and its rem values respect the user’s browser preferences and allow me to easily shift the size of the entire scale at different viewport sizes. But my setup still isn’t optimized for one very important adjustment: the interval, which is currently 1.5. If 1.5 isn’t quite working for me and I want to see how an increase or decrease will affect the scale, I need to do the math all over again for every step in the scale every time I adjust the interval. The bigger the scale, the more time that will take. It’s time to put down the abacus and get calc() involved. :root { --int: 1.5; --scale0: 1rem; --scale-1: calc(var(--scale0) / var(--int)); --scale-2: calc(var(--scale-1) / var(--int)); --scale1: calc(var(--scale0) * var(--int)); --scale2: calc(var(--scale1) * var(--int)); } My interval now has its very own variable, called --int. calc() determines each scale size by multiplying the preceding size by --int. Now that every size is ultimately dependent on --scale0’s value, --scale0 must appear first in the list. Since the sizes smaller than --scale0 are going down rather than up, their values require division rather than multiplication. Scaling the scale I can now quickly and easily tweak my scale’s interval by adjusting --int until the proportions are just right, but if I want to add more sizes to the scale, I need to add more variables and calc() values. This isn’t too big of a deal, but if I want to double or triple the number of sizes, it’s kind of a headache. Luckily, this is the sort of thing Sass is really good at. In the following code, adjusting the first four Sass variables at the top of :root will quickly spin up a set of CSS variables like the scale above, with any interval (proportional or fixed) and any number of scale sizes: :root { $interval: 1.5; // Unitless for proportional, unit for fixed $body-text: 1rem; // Must have a unit $scale-min: -2; // Unitless negative integer $scale-max: 2; // Unitless positive integer --int: #{$interval}; --scale0: #{$body-text}; @if $scale-min < 0 { // Generate scale variables smaller than the base text size @for $i from -1 through $scale-min { @if type-of($interval) == number { @if unitless($interval) { --scale#{$i}: calc(var(--scale#{$i + 1}) / var(--int)); } @else { --scale#{$i}: calc(var(--scale#{$i + 1}) - var(--int)); } } } } @if $scale-max > 0 { // Generate scale variables larger than the base text size @for $i from 1 through $scale-max { @if type-of($interval) == number { @if unitless($interval) { --scale#{$i}: calc(var(--scale#{$i - 1}) * var(--int)); } @else { --scale#{$i}: calc(var(--scale#{$i - 1}) + var(--int)); } } } } } Go forth and scale Typographic scales have been an indispensable part of my work for many years, and CSS variables and calc() make setup, adjustments, and experimentation easier than ever. I hope you find these techniques as useful as I do! About the author Rob Weychert is a Brooklyn-based designer. He helps shape the reading experience at ProPublica and has previously helped make books at A Book Apart, games at Harmonix, and websites at Happy Cog. In his free time, he obsesses over music and film. Despite all this, he is probably best known as a competitive air guitarist. More articles by Rob Full Article Design css
hi I set my own rules: Sabyasachi Mukherjee By www.thehindu.com Published On :: Wed, 10 Aug 2016 17:24:59 +0530 Designers must create new templates that suit their creativity instead of allowing the market to set the pace for them, says Sabyasachi Mukherjee, who will present his collection at the finale of Lakme Fashion Week. Full Article Fashion
hi Romancing history through fashion By www.thehindu.com Published On :: Wed, 10 Aug 2016 17:31:15 +0530 Poonam Bhagat’s penchant for intricate detailing is visible in her latest collection, writes PRIYADARSHINI PAITANDY Full Article Fashion
hi It’s blooming fashion By www.thehindu.com Published On :: Fri, 12 Aug 2016 16:39:13 +0530 Floral prints are back. Designers and stylists tell RANJANI RAJENDRA how to choose well, without ending up looking like a bit of a garden Full Article Fashion
hi Our kind of fashion By www.thehindu.com Published On :: Sun, 14 Aug 2016 18:36:50 +0530 Designers Gaurav Gupta and Purvi Doshi explain how innovation and sustainability can go hand in hand Full Article Metroplus
hi Making Mithila fashionable By www.thehindu.com Published On :: Thu, 18 Aug 2016 00:56:30 +0530 Relationship between Ram and Sita, which has been depicted in traditional Mithila paintings, now finds reflection in designer outfits created by Monica and Karishma Full Article Metroplus
hi The man behind the ‘invisibility’ scarf By www.thehindu.com Published On :: Thu, 18 Aug 2016 15:52:42 +0530 Saif Siddiqui on designing the ISHU scarf that’s got celebs going gaga over it Full Article Fashion
hi For the mismatched fashionista By www.thehindu.com Published On :: Mon, 22 Aug 2016 16:33:42 +0530 Full Article Metroplus
hi Something old, something luxe By www.thehindu.com Published On :: Thu, 25 Aug 2016 15:49:19 +0530 Want to own a pair of Jimmy Choos but the price tag deters you? Sites selling pre-loved, pre-owned luxury items might be your answer, writes PRIYADARSHINI PAITANDY Full Article Metroplus
hi Stitching bonds By www.thehindu.com Published On :: Fri, 26 Aug 2016 21:30:20 +0530 Huma Nassr explains how she is using fashion to promote goodwill and peace between India and Pakistan Full Article Metroplus
hi Celebspotting: Lakme Fashion Week Winter/Festive 2016 By www.thehindu.com Published On :: Mon, 29 Aug 2016 16:02:46 +0530 Who modelled for whom during this year's edition of Lakme Fashion Week's Winter collection? Full Article Fashion
hi Fashion gets ready to pop up By www.thehindu.com Published On :: Thu, 01 Sep 2016 16:39:41 +0530 Pop-up stores might offer the perfect retail therapy, fusing style and surprise, but we still have a lot of catching up to do with the West, curators tell us. Full Article Fashion
hi Bending fashion the cheapensive way By www.thehindu.com Published On :: Tue, 06 Sep 2016 15:45:41 +0530 Creating a balance between budget and fashion, branded and streetwear, reuse and recycle, Bengaluru's college goers show the way Full Article Metroplus
hi Say it in gold and off-white By www.thehindu.com Published On :: Tue, 13 Sep 2016 15:01:11 +0530 Celebrating Onam and don’t know what to wear and how? NEETI SARKAR gets fashion gurus to give you a few fashion tips Full Article Metroplus
hi Hijabi history New York Fashion Week By www.thehindu.com Published On :: Sat, 17 Sep 2016 21:06:46 +0530 Indonesian designer Anniesa Hasibuan made history at the New York Fashion Week on September 12. Find out how. Full Article Fashion
hi Fashion, pint size By www.thehindu.com Published On :: Fri, 14 Oct 2016 18:37:39 +0530 From Armani and Marc Jacobs to Masaba Gupta and Nachiket Barve, designers are trying their hand at kids fashion. It’s a big market for the small people Full Article Metroplus
hi Making headway, fashionably By www.thehindu.com Published On :: Mon, 17 Oct 2016 19:00:49 +0530 Full Article Fashion
hi Go peach or Goth this winter By www.thehindu.com Published On :: Mon, 24 Oct 2016 17:56:11 +0530 Whip out the deep grape lipstick. Here are favourite make-up trends this coming winter Full Article Metroplus
hi Hybrid from the highstreet By www.thehindu.com Published On :: Fri, 04 Nov 2016 15:11:47 +0530 Do you have treggings in your closet yet? A. SHRIKUMAR tells you why you should own a pair or more of these comfortably trendy pants Full Article Metroplus
hi Menswear at the Lakme Fashion Week makes a strong statement By www.thehindu.com Published On :: Fri, 21 Oct 2022 19:07:35 +0530 Menswear embraced maximalism with an impressive display of structure, shapes and embellishment at the Lakmé Fashion Week x FDCI Full Article Life & Style
hi Sneakerheads, your shoes are worth more than you think By www.thehindu.com Published On :: Fri, 11 Nov 2022 20:54:39 +0530 Festivals, custom designs and limited edition pieces fuel India’s sneaker subculture. How do you curate a sneaker collection that increases in value and boosts your social currency? Full Article Life & Style
hi Uniqlo turns three in the India market; launches second edition of its collaboration with Italian luxury fashion house Marni By www.thehindu.com Published On :: Mon, 12 Dec 2022 11:35:06 +0530 Headquartered in Tokyo, the Japanese apparel brand focusses on technology and sustainability, and its latest collection of fleece jackets is made of recycled PET bottles Full Article Life & Style
hi This bus in Chennai brings fashion to your doorstep with its boutique on wheels By www.thehindu.com Published On :: Thu, 15 Dec 2022 11:25:25 +0530 Started by Karthick Gunabalan, Pikbig.com showcases a collection of ethnic and Indo-western clothes for women Full Article Life & Style
hi Sahodaran’s 2023 calendar highlights India’s textile heritage By www.thehindu.com Published On :: Wed, 21 Dec 2022 23:21:24 +0530 It was the effort of four photographers, 14 models, and three stylists, and was shot at four locations Full Article Life & Style
hi Mahila Praharis of the BSF Camel Contingent will make their Republic Day parade debut in uniform designed by Raghavendra Rathore By www.thehindu.com Published On :: Fri, 20 Jan 2023 20:28:00 +0530 The designer also incorporated various skills from across the country and it took him three months to complete the uniform Full Article Life & Style
hi Designer Ranna Gill brings the essence of Lake Como to the runway at the Lakme Fashion Week X FDCI By www.thehindu.com Published On :: Fri, 10 Mar 2023 17:01:57 +0530 Twenty-five years of Ranna Gill, and she still lets the flowers do the talking in her garments. Ahead of her show at Lakme Fashion Week X FDCI, the designer gives us a sneak peek into her collection Full Article Life & Style
hi The style file from the Lakme Fashion Week that got us talking By www.thehindu.com Published On :: Fri, 17 Mar 2023 16:22:37 +0530 Lakmé Fashion Week x FDCI 2023 showcased gender-agnostic styles, recycled accessories and modern Indian draping techniques – we explore what will influence your wardrobe this year Full Article Life & Style
hi This Chennai-based startup customises your sneakers so you can put your personality on them By www.thehindu.com Published On :: Fri, 07 Apr 2023 16:52:36 +0530 Pastels, bling, or bold colours, whatever be your taste, K-kix, a sneaker customisation platform from Chennai can do it for you Full Article Life & Style
hi From techno-inspired rave bags to pants that depict neurons, this Chennai-based gender neutral fashion label’s creations are conversation starters By www.thehindu.com Published On :: Fri, 14 Apr 2023 17:03:21 +0530 Brimming with cut outs, panels, thread piping and embroidery, Biskit’s new collection explores the human mind Full Article Life & Style
hi Rahul Gandhi, the Mr Cool Guy! By www.thehindubusinessline.com Published On :: Thu, 04 Apr 2013 15:14:22 +0530 Full Article Richa Mishra
hi ‘Your life is more than just a number on a weighing scale’ By www.thehindu.com Published On :: Thu, 24 Mar 2016 17:01:23 +0530 At an event to launch her book Gain to Lose, Dr. Sheela Nambiar said weight training helped women lose weight and cope better with their myriad tasks Full Article Coimbatore