com X-ray photoelectron spectroscopy of piperdinium ionic liquids: A comparison to the charge delocalised pyridinium analogues By feeds.rsc.org Published On :: Phys. Chem. Chem. Phys., 2020, Accepted ManuscriptDOI: 10.1039/D0CP01454K, PaperShuang Men, Peter Licence, Chi-Linh Do-Thanh, Huimin Luo, Sheng DaiIn this study, nine piperidinium-based ionic liquids are analysed by X-ray photoelectron spectroscopy. The effect of alkyl substituent length and the nature of the anion on the electronic environment of...The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
com Kinetics of 1H-13C multiple-contact cross-polarization as a powerful tool to determine the structure and dynamics of complex materials : application to graphene oxide By feeds.rsc.org Published On :: Phys. Chem. Chem. Phys., 2020, Accepted ManuscriptDOI: 10.1039/D0CP00454E, PaperJesus Raya, Alberto Bianco, Jerome HirschingerHartmann-Hahn cross-polarization (HHCP) is the most widely used solid-state NMR technique to enhance the magnetization of dilute spins from abundant spins. Furthermore, as the kinetics of CP depends on dipolar...The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
com Dynamical Signatures from Competing, Nonadiabatic Fragmentation Pathways of S-Nitrosothiophenol By feeds.rsc.org Published On :: Phys. Chem. Chem. Phys., 2020, Accepted ManuscriptDOI: 10.1039/D0CP00941E, PaperK. Jacob Blackshaw, Marcus Marracci, Robert T. Korb, Naa-Kwarley Quartey, Annalise K. Ajmani, David J. Hood, Christopher J Abelt, Belinda Ortega, Kate Luong, Andrew S. Petit, Nathanael M KidwellS-Nitrosothiols (RSNOs) are derived from the combination of sulfur and nitric oxide (NO) radicals in the Earth’s atmosphere and fragment to products following photolysis. Extensive theoretical studies have focused on...The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
com The importance of the composite mechanisms with two transition states in the F- + NH2I SN2 reaction By feeds.rsc.org Published On :: Phys. Chem. Chem. Phys., 2020, Accepted ManuscriptDOI: 10.1039/D0CP01942A, CommunicationYan Li, Yongfang Li, Dunyou WangThe dynamics of the bimolecular nucleophilic substitution (SN2) reactions at nitrogen are less understood than their corresponding reactions at carbon. In this paper, we report an ab initio molecular dynamics...The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
com [ASAP] Isolation of Elusive Electrophilic Phosphinidene Complexes with p-Donor N-Heterocyclic Vinyl Substituents By feedproxy.google.com Published On :: Thu, 30 Apr 2020 04:00:00 GMT The Journal of Organic ChemistryDOI: 10.1021/acs.joc.0c00176 Full Article
com [ASAP] Asymmetric Synthesis of a Bacteriochlorophyll Model Compound Containing <italic toggle="yes">trans</italic>-Dialkyl Substituents in Ring D By feedproxy.google.com Published On :: Mon, 04 May 2020 04:00:00 GMT The Journal of Organic ChemistryDOI: 10.1021/acs.joc.0c00608 Full Article
com [ASAP] Chiral Vanadyl(V) Complexes Enable Efficient Asymmetric Reduction of ß-Ketoamides: Application toward (<italic toggle="yes">S</italic>)-Duloxetine By feedproxy.google.com Published On :: Mon, 04 May 2020 04:00:00 GMT The Journal of Organic ChemistryDOI: 10.1021/acs.joc.0c00221 Full Article
com [ASAP] Quantitative Kinetic Modeling in Photoresponsive Supramolecular Chemistry: The Case of Water-Soluble Azobenzene/Cyclodextrin Complexes By feedproxy.google.com Published On :: Tue, 05 May 2020 04:00:00 GMT The Journal of Organic ChemistryDOI: 10.1021/acs.joc.0c00461 Full Article
com [ASAP] One-Pot Multicomponent Reaction of Catechols, Ammonium Acetate, and Aldehydes for the Synthesis of Benzoxazole Derivatives Using the Fe(III)–Salen Complex By feedproxy.google.com Published On :: Wed, 06 May 2020 04:00:00 GMT The Journal of Organic ChemistryDOI: 10.1021/acs.joc.0c00560 Full Article
com [ASAP] Synthesis of Indolizine Derivatives Triggered by the Oxidative Addition of Aroyl Chloride to Pd(0) Complex By feedproxy.google.com Published On :: Thu, 07 May 2020 04:00:00 GMT The Journal of Organic ChemistryDOI: 10.1021/acs.joc.0c00161 Full Article
com Highly sensitive endotoxin detection using a gold nanoparticle loaded layered molybdenum disulfide-polyacrylic acid nanocomposite By feeds.rsc.org Published On :: Analyst, 2020, Advance ArticleDOI: 10.1039/D0AN00567C, PaperBiyas Posha, N. SandhyaraniA highly sensitive and selective endotoxin sensor is developed with a Au nanoparticle anchored MoS2-PAA nanocomposite.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
com Electrochemical biosensing platforms on the basis of reduced graphene oxide and its composites with Au nanodots By feeds.rsc.org Published On :: Analyst, 2020, Advance ArticleDOI: 10.1039/C9AN02592H, PaperLiang Mei, Qingyong Zhang, Min Du, Zhiyuan ZengrGO and AuNDs-rGO, synthesized by a simple photochemical reduction method, are used for electrochemical biosensors and show good glucose detection.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
com Combined Raman and AFM detection of changes in HeLa cervical cancer cells induced by CeO2 nanoparticles – molecular and morphological perspectives By feeds.rsc.org Published On :: Analyst, 2020, Advance ArticleDOI: 10.1039/C9AN02518A, PaperMirjana Miletić, Sonja Aškrabić, Jan Rüger, Borislav Vasić, Lela Korićanac, Abdullah Saif Mondol, Jan Dellith, Jürgen Popp, Iwan W. Schie, Zorana Dohčević-MitrovićRaman and AFM analyses represent a tool for the evaluation of cytotoxic and anti-proliferative effects in cells induced by CeO2 nanoparticles.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
com Rapid and sensitive detection of NGAL for the prediction of acute kidney injury via a polydopamine nanosphere/aptamer nanocomplex coupled with DNase I-assisted recycling amplification By feeds.rsc.org Published On :: Analyst, 2020, Advance ArticleDOI: 10.1039/D0AN00474J, PaperYiting Hu, Xie-an Yu, Ying Zhang, Ran Zhang, Xuefei Bai, Mi Lu, Jiwei Li, Lifei Gu, Ji-Hua Liu, Bo-Yang Yu, Jiangwei TianA rapid and sensitive method for NGAL detection has been developed to predict acute kidney injury and evaluate the protective effect of drug on renal disease.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
com Changes in latent fingermark glyceride composition as a function of sample age using UPLC-IMS-QToF-MSE By feeds.rsc.org Published On :: Analyst, 2020, Accepted ManuscriptDOI: 10.1039/D0AN00379D, PaperAmanda Frick, Natalie Kummer, Ana Moraleda, Celine WeyermannThe composition of fingermark residue has been an important topic in forensic science, mainly in efforts to better understand and eventually improve the efficacy of latent fingermark detection methods. While...The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
com A traceless clean-up method coupled with gas chromatography and mass spectrometry for analyzing polycyclic aromatic hydrocarbons in complex plant leaf matrices By feeds.rsc.org Published On :: Analyst, 2020, 145,3266-3273DOI: 10.1039/D0AN00128G, PaperXiangzi Jin, Han Yeong Kaw, Huijie Li, Zhao Wang, Jinhua Zhao, Xiangfan Piao, Donghao Li, Dongri Jin, Miao HeThis study developed a traceless clean-up method by combining solid phase extraction (SPE) with gas purge–microsyringe extraction (GP–MSE) to purify sample extracts for the determination of polycyclic aromatic hydrocarbons (PAHs) in plant leaves.The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
com Highly sensitive and selective optosensing of quercetin based on novel complexation with yttrium ions By feeds.rsc.org Published On :: Analyst, 2020, 145,3376-3384DOI: 10.1039/D0AN00117A, PaperNguyen Ngoc Nghia, Bui The Huy, Yong-Ill LeeA simple and fast method was developed for the determination of quercetin using a Arduino-based portable device.The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
com Novel ratiometric electrochemical sensor for no-wash detection of fluorene-9-bisphenol based on combining CoN nanoarrays with molecularly imprinted polymers By feeds.rsc.org Published On :: Analyst, 2020, 145,3320-3328DOI: 10.1039/D0AN00345J, PaperZhaoyi Liu, Yong Zhang, Bing Li, Xiang Ren, Hongmin Ma, Qin WeiA ratiometric molecularly imprinted polymers electrochemical sensor was fabricated based on the direct electrochemical oxidation of BHPF on CoN nanoarray electrode.The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
com Synthesis of a manganese dioxide nanorod-anchored graphene oxide composite for highly sensitive electrochemical sensing of dopamine By feeds.rsc.org Published On :: Analyst, 2020, 145,3283-3288DOI: 10.1039/D0AN00348D, PaperJuan Li, Huifang Shen, Suhua Yu, Geshan Zhang, Chuanli Ren, Xiaoya Hu, Zhanjun YangA novel manganese dioxide nanorod-anchored graphene oxide (MnO2 NRs/GO) composite was synthesized by a simple hydrothermal method for the development of a highly sensitive electrochemical sensor for dopamine.The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
com An electrochemical biosensor based on methylene blue-loaded nanocomposites as signal-amplifying tags to detect pathogenic bacteria By feeds.rsc.org Published On :: Analyst, 2020, Advance ArticleDOI: 10.1039/D0AN00470G, PaperShengjun Bu, Kuiyu Wang, Zhongyi Li, Chengyu Wang, Zhuo Hao, Wensen Liu, Jiayu WanSynthesis of new methylene blue–magainin I organic–inorganic nanocomposites as electrochemical signal labels for the detection of bacteria.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
com Naked-Eye Sensing of Phytic Acid at Sub-Nanomolar Level in 100% Water Medium by Charge Transfer Complex Derived from off-the-shelf Ingredients By feeds.rsc.org Published On :: Analyst, 2020, Accepted ManuscriptDOI: 10.1039/D0AN00671H, PaperNilanjan DeyNaked-eye sensing of phytic acid, one of the most abundant antinutrients, was achieved in 100% water medium using charge transfer complex, comprised of pyranine and methyl viologen. Since both the...The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
com Biocompatible Alkyne arms containing Schiff base Fluorescence Indicator for Duel detection of CdII and PbII at Physiological pH and its Application to Live Cell Imaging By feeds.rsc.org Published On :: Analyst, 2020, Accepted ManuscriptDOI: 10.1039/D0AN00862A, PaperJebastin Andrews S.G, Benita Jeba Silviya S, Jeyanthi Dharmaraj, Winfred Jebaraj J, Sathya Devi E, C. BalakrishnanAn alkyne arms containing salen-type Schiff base ligand, 6,6'-((1E,1'E)-(1,2-phenylenebis(azanylylidene))bis(ethan-1-yl-1-ylidene))bis(3-(prop-2-yn-1-yloxy)phenol) (H2L), is reported here as a dual chemosensor for CdII and PbII ions. The ligand, H2L was characterized by various spectral...The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
com Rapid on-site and naked-eye detection of common nitro pesticides with ionic liquids By feeds.rsc.org Published On :: Analyst, 2020, Advance ArticleDOI: 10.1039/D0AN00452A, Paper Kovida, Vikas Sharma, Apurba Lal KonerRapid ‘in-field’ detection of environmentally hazardous organophosphorus and nitro-containing pesticides is highly essential due to the lethal effects caused by the inhibition of the activity of acetylcholinesterase (AChE).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
com [ASAP] A Coculture Based Tyrosine-Tyrosinase Electrochemical Gene Circuit for Connecting Cellular Communication with Electronic Networks By feedproxy.google.com Published On :: Thu, 02 Apr 2020 04:00:00 GMT ACS Synthetic BiologyDOI: 10.1021/acssynbio.9b00469 Full Article
com [ASAP] Blue-Light-Switchable Bacterial Cell–Cell Adhesions Enable the Control of Multicellular Bacterial Communities By feedproxy.google.com Published On :: Wed, 15 Apr 2020 04:00:00 GMT ACS Synthetic BiologyDOI: 10.1021/acssynbio.0c00054 Full Article
com [ASAP] Update to Our Reader, Reviewer, and Author Communities—April 2020 By feedproxy.google.com Published On :: Wed, 22 Apr 2020 04:00:00 GMT ACS Synthetic BiologyDOI: 10.1021/acssynbio.0c00216 Full Article
com [ASAP] Determinants for Efficient Editing with Cas9-Mediated Recombineering in <italic toggle="yes">Escherichia coli</italic> By feedproxy.google.com Published On :: Tue, 28 Apr 2020 04:00:00 GMT ACS Synthetic BiologyDOI: 10.1021/acssynbio.9b00440 Full Article
com [ASAP] Bacteriophage Inspired Growth-Decoupled Recombinant Protein Production in <italic toggle="yes">Escherichia coli</italic> By feedproxy.google.com Published On :: Thu, 07 May 2020 04:00:00 GMT ACS Synthetic BiologyDOI: 10.1021/acssynbio.0c00028 Full Article
com [ASAP] Multicomponent Microscale Biosynthesis of Unnatural Cyanobacterial Indole Alkaloids By feedproxy.google.com Published On :: Thu, 07 May 2020 04:00:00 GMT ACS Synthetic BiologyDOI: 10.1021/acssynbio.0c00038 Full Article
com [ASAP] Molecule Property Analyses of Active Compounds for <italic toggle="yes">Mycobacterium tuberculosis</italic> By feedproxy.google.com Published On :: Mon, 20 Apr 2020 04:00:00 GMT Journal of Medicinal ChemistryDOI: 10.1021/acs.jmedchem.9b02075 Full Article
com [ASAP] Discovery, Structure–Activity Relationship, and Biological Activity of Histone-Competitive Inhibitors of Histone Acetyltransferases P300/CBP By feedproxy.google.com Published On :: Tue, 21 Apr 2020 04:00:00 GMT Journal of Medicinal ChemistryDOI: 10.1021/acs.jmedchem.9b02164 Full Article
com [ASAP] Update to Our Reader, Reviewer, and Author Communities—April 2020 By feedproxy.google.com Published On :: Thu, 23 Apr 2020 04:00:00 GMT Journal of Medicinal ChemistryDOI: 10.1021/acs.jmedchem.0c00641 Full Article
com [ASAP] Discovery of Peptide Boronate Derivatives as Histone Deacetylase and Proteasome Dual Inhibitors for Overcoming Bortezomib Resistance of Multiple Myeloma By feedproxy.google.com Published On :: Thu, 23 Apr 2020 04:00:00 GMT Journal of Medicinal ChemistryDOI: 10.1021/acs.jmedchem.9b02161 Full Article
com [ASAP] Molecular Interactions of Pyrazine-Based Compounds to Proteins By feedproxy.google.com Published On :: Fri, 24 Apr 2020 04:00:00 GMT Journal of Medicinal ChemistryDOI: 10.1021/acs.jmedchem.9b02021 Full Article
com [ASAP] Computational Chemistry on a Budget: Supporting Drug Discovery with Limited Resources<subtitle>Miniperspective</subtitle> By feedproxy.google.com Published On :: Fri, 01 May 2020 04:00:00 GMT Journal of Medicinal ChemistryDOI: 10.1021/acs.jmedchem.9b02126 Full Article
com [ASAP] Degradation versus Inhibition: Development of Proteolysis-Targeting Chimeras for Overcoming Statin-Induced Compensatory Upregulation of 3-Hydroxy-3-methylglutaryl Coenzyme A Reductase By feedproxy.google.com Published On :: Mon, 04 May 2020 04:00:00 GMT Journal of Medicinal ChemistryDOI: 10.1021/acs.jmedchem.0c00339 Full Article
com [ASAP] Ruthenium(II) Complex Containing a Redox-Active Semiquinonate Ligand as a Potential Chemotherapeutic Agent: From Synthesis to <italic toggle="yes">In Vivo</italic> Studies By feedproxy.google.com Published On :: Thu, 07 May 2020 04:00:00 GMT Journal of Medicinal ChemistryDOI: 10.1021/acs.jmedchem.0c00431 Full Article
com [ASAP] Chimeric Peptidomimetics of SOCS 3 Able to Interact with JAK2 as Anti-inflammatory Compounds By feedproxy.google.com Published On :: Mon, 30 Mar 2020 04:00:00 GMT ACS Medicinal Chemistry LettersDOI: 10.1021/acsmedchemlett.9b00664 Full Article
com [ASAP] Substituted Naphthalenediimide Compounds Bind Selectively to Two Human Quadruplex Structures with Parallel Topology By feedproxy.google.com Published On :: Thu, 02 Apr 2020 04:00:00 GMT ACS Medicinal Chemistry LettersDOI: 10.1021/acsmedchemlett.0c00041 Full Article
com [ASAP] Characterization of an Alginate Encapsulated LS180 Spheroid Model for Anti-colorectal Cancer Compound Screening By feedproxy.google.com Published On :: Fri, 03 Apr 2020 04:00:00 GMT ACS Medicinal Chemistry LettersDOI: 10.1021/acsmedchemlett.0c00076 Full Article
com [ASAP] Combined Peptide and Small-Molecule Approach toward Nonacidic THIQ Inhibitors of the KEAP1/NRF2 Interaction By feedproxy.google.com Published On :: Fri, 10 Apr 2020 04:00:00 GMT ACS Medicinal Chemistry LettersDOI: 10.1021/acsmedchemlett.9b00594 Full Article
com [ASAP] Novel Dithiolane-Based Ligands Combining Sigma and NMDA Receptor Interactions as Potential Neuroprotective Agents By feedproxy.google.com Published On :: Fri, 10 Apr 2020 04:00:00 GMT ACS Medicinal Chemistry LettersDOI: 10.1021/acsmedchemlett.0c00129 Full Article
com [ASAP] Complete Regression of Carcinoma via Combined C-RAF and EGFR Targeted Therapy By feedproxy.google.com Published On :: Tue, 14 Apr 2020 04:00:00 GMT ACS Medicinal Chemistry LettersDOI: 10.1021/acsmedchemlett.0c00159 Full Article
com [ASAP] Update to Our Reader, Reviewer, and Author Communities—April 2020 By feedproxy.google.com Published On :: Wed, 22 Apr 2020 04:00:00 GMT ACS Medicinal Chemistry LettersDOI: 10.1021/acsmedchemlett.0c00206 Full Article
com [ASAP] PROTAC Compounds Targeting a-Synuclein Protein for Treating Neurogenerative Disorders: Alzheimer’s and Parkinson’s Diseases By feedproxy.google.com Published On :: Tue, 28 Apr 2020 04:00:00 GMT ACS Medicinal Chemistry LettersDOI: 10.1021/acsmedchemlett.0c00192 Full Article
com Nesting Components By simurai.com Published On :: Mon, 11 May 2015 00:00:00 +0000 Using CSS components is somewhat straightforward. We add the markup and give it the component’s class name and all is good. Where it gets trickier is when we try to nest components. And when they need to be tweaked based on the context. Where should the styles be defined? It’s a question I’ve been asking myself a few times and what this article is trying to explore. Just to clarify before we start, with “CSS components”, I mean the small building blocks that get used to assemble a website or app. Like buttons, inputs, navs, headers etc. Some also call them modules or patterns. Also I’m using the SUIT naming convention in the examples below, but any other convention would be fine as well. And just a heads, there isn’t some awesome solution at the end that solves all the problems. It’s just me whining most of the time. Ok, best is to go straight into it and look at an example. Let’s say we have a Header component where we would like to add a Button component inside. <header class=“Header”> <button class=“Button”>Button</button> </header> Now because the Button is inside the Header, we want to make the Button a bit smaller than it would be on its own. Here a few approaches how to do that: Option 1 - Descendant selector Maybe the most common way is to use a descendant selector to change the font-size whenever a Button is inside a Header. .Header .Button { font-size: .75em; } This works great but the question is, where should this rule be added? We probably split our components into separate files, so is it in header.scss or in button.scss? In other words, should the Header know about what other components might get nested or should the Button know in what environment it will get placed? But wait, the point of creating components is to separate them, make them modular. Each component should be kept isolated and shouldn’t know about other components. So we can make changes, rename or remove them without having to check if they might get used somewhere else. Option 2 - Variations Another way is to create variations. We add a .Button--small class that we can use whenever we would like the button to be smaller without having to worry about ancestors. .Button--small { font-size: .75em; } <header class=“Header”> <button class=“Button Button--small”>Button</button> </header> This works great too, but could get out of hand quickly. What do you do if at some point you want the font-size to be .9em? Create yet another variation? Button--justALittleSmaller. As the project keeps growing, the number of variations will too. We will start to loose sight where they actually get used and we’re not sure anymore if we can change a variation or if it will have side effects in some other place. We could create “contextual” variations like Button--header or Button--footer, but then we’re back at the beginning and could just as well use “descendant selectors”. Same goes for using states. .Button.is-small should only be used if there is a change in state and not to fit a certain context. Option 3 - Adopted Child I can’t remember where I read about this approach but somehow it stuck with me. I also forgot how it was called. So for now I’ll just call it “Adopted Child”. Let’s switch it around and look at it from the Header’s perspective. What would we do if we wouldn’t know what the components are called that might get nested? But we know that we want to make them a bit smaller. Well, we probably would create a generic .Header-item class and use it like this: .Header-item { font-size: .75em; } <header class=“Header”> <div class=“Header-item”></div> </header> Ok, that gets us a bit closer. Now, it’s probably strange saying it like that when talking about CSS, but what would we do if we don’t want to create an own child, but still have one. Right, we could adopt one. In our example we adopt a Button component as our own child. We didn’t create it, but now we can tweak.. erm.. I mean “raise” it like it’s our own: // born in button.scss .Button { font-size: 1em; } // raised in header.css .Header .Header-item { font-size: .75em; } <header class=“Header”> <button class=“Header-item Button”>Button</button> </header> It is a bit uncommon that the same HTML element shares classes from two different components. And it’s not without any risks. More about them later. But I really like this approach because it keeps the components independent without having to know about each other. Another nice thing is that if we want to add other components to the Header that also need the same adjustments, we can reuse the same Header-item class, like for example on a text Input. <header class=“Header”> <input class=“Header-item Input”> <button class=“Header-item Button”>Button</button> </header> Ok, about those risks. Well, depending on what properties we wanna change, it might not always be ideal. For example, because the Button already had font-size defined, we had to increase specificity by using .Header .Header-item. But that would also override variations like .Button--small. That might be how we want it, but there are also situations where we’d like the variation to always be “stronger”. An example would be when changing colors. When the color of Buttons should be different inside a Header, but not when its a variation, like .Button—primary. Yeah, we could take a look inside button.scss or our style-guide, but remember our goal.. we actually don’t want to make decisions by looking how other components are made. So, as a general rule, don’t use “adopted children” for any properties that are theme related and only where you can be sure that you want to override them all the time. Like for layout/size related properties or adjusting the position. More options? There are some more ways to do contextual styling that came to mind. I’ll just mention them briefly for completeness, but think the 3 above are better suited. Option 4 - We could use a preprocessor to extend an existing component. In our example it would be a clone of the Button with some tweaks added and used as a new child component .Header-button. Now we only rely that the Button exists in the source, but don’t have to worry about other contexts. Downside is inflating our CSS output. As well as having to remember lots of new child component classes. Option 5 - We could create a utility class like .u-small. It’s similar to variations, but not scoped to a single component and could be used for other components as well. And for that reason it becomes very risky to ever change later. Option 6 - And of course, we could use inline styles. But I would leave that to JavaScript only. So after all that, which is best? I’m afraid there isn’t a clear winner. It would be nice to keep it consistent with a single approach throughout the entire project, but I guess we just have to decide on a per case basis: Descendant selectors if we can expect that components don’t change much. Like when using a UI Kit or library. Variations if it makes sense that a component has different versions that get reused anyways, and not just for a specific context. Adopted Child for layout, sizing, positioning or where we are sure to always want to override a property. Also for changing multiple child components at once. Extending when we truly want the components to be separated and don’t mind inflating the CSS output. Utilities for very specific things, that once the class is defined, it will never change, like clearing floats. Inline styles if it needs to be dynamically added with JavaScript. As said at the beginning, I haven’t found a “fits all” solution and maybe the conclusion is: Try to keep contextual styling to a minimum. Updates The “Adopted Child” approach is called “Mixes” in BEM. Here some more infos. SUIT also recommends using “Adopted Child/Mixes”. But also another option: Option 7 - Adding a wrapper element. It’s the <div class="Excerpt-wrapButton"> in that example. I think it works great in most cases. But for example when using Flexbox, because it has this parent/child relationship, adding an extra wrapper in between would break it. And then you might still need to set the width of the wrapped component to 100% or so. Anyways, this is a great addition. Thanks Pablo in the comments. Option 8 - Single Purpose Classes. It’s where every class has only a single property. It’s somewhere between utilities (Option 5) and inline styles (Option 6). Atomic CSS and Tachyons use this approach. I haven’t used them on a real project, but just from looking at it, the concerns are similar to the ones from utilities. If you want to change the value in a SP class, it seems unpredictable. Because in another place (where that same class is used), you might want to keep the current value. So you would have to first check if the change has any unwanted effects somewhere else. Full Article
com Art for people's sake: artists and community in Black Chicago, 1965-1975 / Rebecca Zorach By library.mit.edu Published On :: Sun, 23 Feb 2020 06:00:02 EST Rotch Library - NX512.3.A35 Z67 2019 Full Article
com The stronger we become: the South African pavilion / Dineo Seshee Bopape, Tracey Rose, Mawande Ka Zenzile ; curated by Nkule Mabaso, Nomusa Makhubu By library.mit.edu Published On :: Sun, 23 Feb 2020 06:00:02 EST Rotch Library - N6488.I8 V433 2019 S6 Full Article
com Art beyond borders: artistic exchange in communist Europe (1945-1989) / edited by Jérôme Bazin, Pascal Dubourg Glatigny, and Piotr Piotrowski By library.mit.edu Published On :: Sun, 8 Mar 2020 06:00:02 EDT Online Resource Full Article
com Comradely objects: design and material culture in Soviet Russia, 1960s-1980s / Yulia Karpova By library.mit.edu Published On :: Sun, 15 Mar 2020 06:00:01 EDT Rotch Library - N6988.K37 2020 Full Article