ul

Bi-continuous orthorhombic soft matter phase made of polycatenar molecules

Soft Matter, 2020, 16,3882-3885
DOI: 10.1039/D0SM00331J, Communication
Joanna Matraszek, Damian Pociecha, Nataša Vaupotič, Mirosław Salamończyk, Martin Vogrin, Ewa Gorecka
A slight deformation of a double gyroid structure of a cubic Iād phase results in the formation of a phase with an orthorhombic Pcab symmetry. The phase seems to be an intermediate state towards a columnar phase made of helical pillars.
The content of this RSS Feed (c) The Royal Society of Chemistry




ul

Uniform conductivity in stretchable silicones via multiphase inclusions

Soft Matter, 2020, Advance Article
DOI: 10.1039/D0SM00383B, Paper
R. Adam Bilodeau, Amir Mohammadi Nasab, Dylan S. Shah, Rebecca Kramer-Bottiglio
A thin, stretchable (200% linear strain), multiphase (solid–liquid) silicone composite with uniform electrical conductivity, for Joule heating and high-deformation sensing.
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




ul

Assessing the Extent of Structural and Dynamic Modulation of Membrane Lipids due to Pore Forming Toxins: Insights from Molecular Dynamics Simulations

Soft Matter, 2020, Accepted Manuscript
DOI: 10.1039/D0SM00086H, Paper
Vadhana Varadarajan, Rajat Desikan, Ganapathy Ayappa
Infections in many virulent bacterial strains are triggered by the release of pore forming toxins (PFTs), which form oligomeric transmembrane pore complexes on the target plasma membrane. The spatial extent...
The content of this RSS Feed (c) The Royal Society of Chemistry




ul

Impact of wormlike micelles on nano and macroscopic structure of TEMPO-oxidized cellulose nanofibrils hydrogels

Soft Matter, 2020, Accepted Manuscript
DOI: 10.1039/D0SM00135J, Paper
Open Access
  This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.
Marcelo A. da Silva, Vincenzo Calabrese, Julien Schmitt, Kazi M. Zakir Hossain, Saffron J Bryant, Najet Mahmoudi, Janet L Scott, Karen J Edler
In this work, we investigated the effect of adding surfactant mixtures on the rheological properties of TEMPO-oxidized cellulose nanofibrils (OCNF) saline dispersions. Three surfactant mixtures were studied: cocamidopropyl betaine (CAPB)/sodium...
The content of this RSS Feed (c) The Royal Society of Chemistry




ul

Classical and Non-Classical Melatonin Receptor Agonist-Directed Micellization of Bipyridinium-Based Supramolecular Amphiphiles in Water

Soft Matter, 2020, Accepted Manuscript
DOI: 10.1039/D0SM00424C, Paper
Zhimin Sun, Lihui Xi, Kai Zheng, Zhao Zhang, Kim Baldridge, Mark Anthony Olson
The addition of molecular recognition units into structures of amphiphiles is a means by which soft matter capable of undergoing template-directed micellization can be obtained. These supramolecular amphiphiles can bind...
The content of this RSS Feed (c) The Royal Society of Chemistry




ul

Impact of Chiral Supramolecular Nanostructure on the Mechanical and Electrical Performances of Triphenylene-based discotic physical gels

Soft Matter, 2020, Accepted Manuscript
DOI: 10.1039/D0SM00152J, Paper
Hongli Zhang, Junjie Cheng, Qiang Zhou, Qijin Zhang, Gang Zou
Discotic π-conjugated supramolecular assemblies, especially with chiral supramolecular nanostructures, have been attracting growing research interests due to their significant optoelectronic properties and the possibilities of their applications in the new...
The content of this RSS Feed (c) The Royal Society of Chemistry




ul

Simultaneous determination of interfacial molarities of an alcohol, bromide ion, and water during an alcohol induced microstructural transition: The difference between medium and long chain alcohols.

Soft Matter, 2020, Accepted Manuscript
DOI: 10.1039/D0SM00665C, Paper
Kaixin Yao, Lijie Sun, Xiaoxuan Ding, Yuzhao Wang, Tianze Liu, Changyao Liu, Jiajing Tan, Li Zhao, Baocai Xu, Laurence S. Romsted
The transitions between surfactant aggregate structures are triggered by changes in chemical or physical stimulations, including addition of additives. Effects of added alcohols on aggregate morphologies correlate strongly with alcohol...
The content of this RSS Feed (c) The Royal Society of Chemistry




ul

A Novel degradation mechanism of the elastic modulus of wet polymer substrates under nanoindentation

Soft Matter, 2020, Accepted Manuscript
DOI: 10.1039/D0SM00645A, Paper
Ruling Chen, Zhe Wang, Shaoxian Li, Hongwei Du
We demonstrated that the formation and solidification of the continuous confined water film played a very important role in changing the elastic modulus of the wet polymer substrate during nanoindentation...
The content of this RSS Feed (c) The Royal Society of Chemistry




ul

Evaluation of the subtle trade-off between physical stability and thermo-responsiveness in crosslinked methylcellulose hydrogels

Soft Matter, 2020, Accepted Manuscript
DOI: 10.1039/D0SM00269K, Paper
Lorenzo Bonetti, Luigi De Nardo, Fabio Variola, Silvia Fare
Methylcellulose (MC) hydrogels, undergoing sol-gel reversible transition upon temperature changes, lend themselves to smart system applications. However, their reduced stability in aqueous environment and unsatisfactory mechanical properties limit the breadth...
The content of this RSS Feed (c) The Royal Society of Chemistry




ul

Self-assembly of isomeric naphthalene appended glucono derivatives: nanofibers and nanotwists with circularly polarized luminescence emission

Soft Matter, 2020, 16,4115-4120
DOI: 10.1039/C9SM02542A, Paper
Zongwen Liu, Yuqian Jiang, Jian Jiang, Donghua Zhai, Decai Wang, Minghua Liu
Two isomers of naphthalene derivatives are self-assembled into nanofibers and nanotwists with CPL emission, respectively.
The content of this RSS Feed (c) The Royal Society of Chemistry




ul

Pinning dislocations in colloidal crystals with active particles that seek stacking faults

Soft Matter, 2020, 16,4182-4191
DOI: 10.1039/C9SM02514F, Paper
Bryan VanSaders, Sharon C. Glotzer
By designing the shape of an active particle, its transport through a dense crystal can be tailored, as well as its interaction with dislocation defects present in the host crystal.
The content of this RSS Feed (c) The Royal Society of Chemistry




ul

Lattice self-consistent field calculations of confined symmetric block copolymers of various chain architectures

Soft Matter, 2020, 16,4311-4323
DOI: 10.1039/D0SM00293C, Paper
Jingxue Zhang, Jiaping Wu, Run Jiang, Zheng Wang, Yuhua Yin, Baohui Li, Qiang Wang
The effects of chain architecture on the structural details and orientation of confined lamellae formed by symmetric AB-type block copolymer melts are studied.
The content of this RSS Feed (c) The Royal Society of Chemistry




ul

Rapid analysis of cell-generated forces within a multicellular aggregate using microsphere-based traction force microscopy

Soft Matter, 2020, 16,4192-4199
DOI: 10.1039/C9SM02377A, Paper
Buğra Kaytanlı, Aimal H. Khankhel, Noy Cohen, Megan T. Valentine
We measure cell-generated forces from the deformations of elastic microspheres embedded within multicellular aggregates. Using a computationally efficient analytical model, we directly obtain the full 3D mapping of surface stresses within minutes.
The content of this RSS Feed (c) The Royal Society of Chemistry




ul

Systematic approach for wettability prediction using molecular dynamics simulations

Soft Matter, 2020, 16,4299-4310
DOI: 10.1039/D0SM00197J, Paper
Open Access
  This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.
Ahmed Jarray, Herman Wijshoff, Jurriaan A. Luiken, Wouter K. den Otter
An efficient approach for fast screening of liquids in terms of their wetting properties.
The content of this RSS Feed (c) The Royal Society of Chemistry




ul

Protonated state and synergistic role of Nd3+ doped barium cerate perovskite for the enhancement of ionic pathways in novel sulfonated polyethersulfone for H2/O2 fuel cells

Soft Matter, 2020, 16,4220-4233
DOI: 10.1039/D0SM00427H, Paper
R. Gayathri, M. Ramesh Prabhu
1.8 times higher current density and power density were obtained for a Nd3+ doped barium cerate membrane compared to pure SPES.
The content of this RSS Feed (c) The Royal Society of Chemistry




ul

Sustainable sorbitol-derived compounds for gelation of the full range of ethanol–water mixtures

Soft Matter, 2020, Advance Article
DOI: 10.1039/D0SM00343C, Paper
Glenieliz C. Dizon, George Atkinson, Stephen P. Argent, Lea T. Santu, David B. Amabilino
A combination of gelators prepared from sustainable sources combine in a synergic way to widen the scope for the compounds to immobilise liquids, as shown by imaging, diffraction and rheology measurements.
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




ul

Simulations of Interpenetrating Networks Microgel Synthesis

Soft Matter, 2020, Accepted Manuscript
DOI: 10.1039/D0SM00287A, Paper
Vladimir Yurievich Rudyak, Elena Kozhunova, Alexander V. Chertovich
In this paper we implement the sequential template synthesis of the interpenetrating network (IPN) microgels in computer simulations and study the behavior of such particles. We explore the influence of...
The content of this RSS Feed (c) The Royal Society of Chemistry




ul

Saddle-curvature instability of lipid bilayer induced by amphipathicpeptides: A molecular model

Soft Matter, 2020, Accepted Manuscript
DOI: 10.1039/D0SM00499E, Paper
Rachel Downing, Guilherme Volpe Bossa, Sylvio May
Amphipathic peptides that partition into lipid bilayers affect the curvature elastic properties oftheir host. Some of these peptides are able to shift the Gaussian modulus to positive values, thustriggering an...
The content of this RSS Feed (c) The Royal Society of Chemistry




ul

Wall entrapment of peritrichous bacteria: A mesoscale hydrodynamics simulation study

Soft Matter, 2020, Accepted Manuscript
DOI: 10.1039/D0SM00571A, Paper
S. Mahdiyeh Mousavi, Gerhard Gompper, Roland G. Winkler
Microswimmers such as E. Coli bacteria accumulate and exhibit an intriguing dynamics near walls, governed by hydrodynamic and steric interactions. Insight into the underlying mechanisms and predominant interactions demand a...
The content of this RSS Feed (c) The Royal Society of Chemistry




ul

Single chain in mean field simulation of flexible and semiflexible polymers: Comparison with discrete chain self-consistent field theory

Soft Matter, 2020, Accepted Manuscript
DOI: 10.1039/D0SM00620C, Paper
So Jung Park, Jaeup Kim
Single chain in mean field (SCMF) simulation is a theoretical framework performing Monte Carlo moves of explicit polymer chains under quasi-instantaneously updated external fields which were originally imported from the...
The content of this RSS Feed (c) The Royal Society of Chemistry




ul

[ASAP] Monochromatic X-ray Source Based on Scattering from a Magnetic Nanoundulator

ACS Photonics
DOI: 10.1021/acsphotonics.0c00121




ul

[ASAP] Modulation of the Visible Absorption and Reflection Profiles of ITO Nanocrystal Thin Films by Plasmon Excitation

ACS Photonics
DOI: 10.1021/acsphotonics.9b01825




ul

[ASAP] Ultrafast Dynamics of Optically Induced Heat Gratings in Metals

ACS Photonics
DOI: 10.1021/acsphotonics.0c00224




ul

[ASAP] Multifunctional Metasurface: Coplanar Embedded Design for Metalens and Nanoprinted Display

ACS Photonics
DOI: 10.1021/acsphotonics.9b01795




ul

[ASAP] Chip-Scale Reconfigurable Optical Full-Field Manipulation: Enabling a Compact Grooming Photonic Signal Processor

ACS Photonics
DOI: 10.1021/acsphotonics.0c00103




ul

[ASAP] Ultrafast Colloidal Quantum Dot Infrared Photodiode

ACS Photonics
DOI: 10.1021/acsphotonics.0c00363




ul

Beautiful Scrolling Experiences – Without Libraries

Michelle Barker appears as one of a heavenly host, coming forth with scroll in hand to pronounce an end to janky scrolljacking! Unto us a new specification is born, in the city of TimBL, and its name shall be called Scroll Snap.


Sponsor: Order any Standard paperback(s) and get a surprise gift card in the box for YOU. While supplies last, from your pals at A Book Apart!


One area where the web has traditionally lagged behind native platforms is the perceived “slickness” of the app experience. In part, this perception comes from the way the UI responds to user interactions – including the act of scrolling through content.

Faced with the limitations of the web platform, developers frequently reach for JavaScript libraries and frameworks to alter the experience of scrolling a web page – sometimes called “scroll-jacking” – not always a good thing if implemented without due consideration of the user experience. More libraries can also lead to page bloat, and drag down a site’s performance. But with the relatively new CSS Scroll Snap specification, we have the ability to control the scrolling behaviour of a web page (to a degree) using web standards – without resorting to heavy libraries. Let’s take a look at how.

Scroll Snap

A user can control the scroll position of a web page in a number of ways, such as using a mouse, touch gesture or arrow keys. In contrast to a linear scrolling experience, where the rate of scroll reflects the rate of the controller, the Scroll Snap specification enables a web page to snap to specific points as the user scrolls. For this, we need a fixed-height element to act as the scroll container, and the direct children of that element will determine the snap points. To demonstrate this, here is some example HTML, which consists of a <div> containing four <section> elements:

<div class="scroll-container">
  <section>
    <h2>Section 1</h2>
  </section>
  <section>
    <h2>Section 2</h2>
  </section>
  <section>
    <h2>Section 3</h2>
  </section>
  <section>
    <h2>Section 4</h2>
  </section>
</div>

Scroll snapping requires the presence of two main CSS properties: scroll-snap-type and scroll-snap-align. scroll-snap-type applies to the scroll container element, and takes two keyword values. It tells the browser:

  • The direction to snap
  • Whether snapping is mandatory

scroll-snap-align is applied to the child elements – in this case our <section>s.

We also need to set a fixed height on the scroll container, and set the relevant overflow property to scroll.

.scroll-container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

section {
  height: 100vh;
  scroll-snap-align: center;
}

In the above example, I’m setting the direction in the scroll-snap-type property to y to specify vertical snapping. The second value specifies that snapping is mandatory. This means that when the user stops scrolling their scroll position will always snap to the nearest snap point. The alternative value is proximity, which determines that the user’s scroll position will be snapped only if they stop scrolling in the proximity of a snap point. (It’s down to the browser to determine what it considers to be the proximity threshold.)

If you have content of indeterminate length, which might feasibly be larger than the height of the scroll container (in this case 100vh), then using a value of mandatory can cause some content to be hidden above or below the visible area, so is not recommended. But if you know that your content will always fit within the viewport, then mandatory can produce a more consistent user experience.

See the Pen Simple scroll-snap example by Michelle Barker (@michellebarker) on CodePen.

In this example I’m setting both the scroll container and each of the sections to a height of 100vh, which affects the scroll experience of the entire web page. But scroll snapping can also be implemented on smaller components too. Setting scroll snapping on the x-axis (or inline axis) can produce something like a carousel effect.

In this demo, you can scroll horizontally scroll through the sections:

See the Pen Carousel-style scroll-snap example by Michelle Barker (@michellebarker) on CodePen.

The Intersection Observer API

By implementing the CSS above, our web page already has a more native-like feel to it. To improve upon this further we could add some scroll-based transitions and animations. We’ll need to employ a bit of Javascript for this, using the Intersection Observer API. This allows us to create an observer that watches for elements intersecting with the viewport, triggering a callback function when this occurs. It is more efficient than libraries that rely on continuously listening for scroll events.

We can create an observer that watches for each of our scroll sections coming in and out of view:

const sections = [...document.querySelectorAll('section')]

const options = {
  rootMargin: '0px',
  threshold: 0.25
}

const callback = (entries) => {
  entries.forEach((entry) => {
    if (entry.intersectionRatio >= 0.25) {
      target.classList.add("is-visible");
    } else {
      target.classList.remove("is-visible");
    }
  })
}

const observer = new IntersectionObserver(callback, options)

sections.forEach((section, index) => {
  observer.observe(section)
})

In this example, a callback function is triggered whenever one of our sections intersects the container by 25% (using the threshold option). The callback adds a class of is-visible to the section if it is at least 25% in view when the intersection occurs (which will take effect when the element is coming into view), and removes it otherwise (when the element is moving out of view). Then we can add some CSS to transition in the content for each of those sections:

section .content {
  opacity: 0:
}

section.is-visible .content {
  opacity: 1;
  transition: opacity 1000ms:
}

This demo shows it in action:

See the Pen Scrolling with Intersection Observer by Michelle Barker (@michellebarker) on CodePen.

You could, of course, implement some much more fancy transition and animation effects in CSS or JS!

As an aside, it’s worth pointing out that, in practice, we shouldn’t be setting opacity: 0 as the default without considering the experience if JavaScript fails to load. In this case, the user would see no content at all! There are different ways to handle this: We could add a .no-js class to the body (which we remove on load with JS), and set default styles on it, or we could set the initial style (before transition) with JS instead of CSS.

Position: sticky

There’s one more CSS property that I think has the potential to aid the scroll experience, and that’s the position property. Unlike position: fixed, which locks the position of an element relative to the nearest relative ancestor and doesn’t change, position: sticky is more like a temporary lock. An element with a position value of sticky will become fixed only until it reaches the threshold of its parent, at which point it resumes relative positioning.

By “sticking” some elements within scroll sections we can give the impression of them being tied to the action of scrolling between sections. It’s pretty cool that we can instruct an element to respond to it’s position within a container with CSS alone!

Browser support and fallbacks

The scroll-snap-type and scroll-snap-align properties are fairly well-supported. The former requires a prefix for Edge and IE, and older versions of Safari do not support axis values. In newer versions of Safari it works quite well. Intersection Observer similarly has a good level of support, with the exception of IE.

By wrapping our scroll-related code in a feature query we can provide a regular scrolling experience as a fallback for users of older browsers, where accessing the content is most important. Browsers that do not support scroll-snap-type with an axis value would simply scroll as normal.

@supports (scroll-snap-type: y mandatory) {
  .scroll-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
  }

  section {
    height: 100vh;
    scroll-snap-align: center;
  }
}

The above code would exclude MS Edge and IE, as they don’t support axis values. If you wanted to support them you could do so using a vendor prefix, and using @supports (scroll-snap-type: mandatory) instead.

Putting it all together

This demo combines all three of the effects discussed in this article.

Summary

Spending time on scroll-based styling might seem silly or frivolous to some. But I believe it’s an important part of positioning the web as a viable alternative to native applications, keeping it open and accessible. While these new CSS features don’t offer all of the control we might expect with a fully featured JS library, they have a major advantage: simplicity and reliability. By utilising web standards where possible, we can have the best of both worlds: Slick and eye-catching sites that satisfy clients’ expectations, with the added benefit of better performance for users.


About the author

Michelle is a Lead Front End Developer at Bristol web agency Atomic Smash, author of front-end blog CSS { In Real Life }, and a Mozilla Tech Speaker. She has written articles for CSS Tricks, Smashing Magazine, and Web Designer Magazine, to name a few. She enjoys experimenting with new CSS features and helping others learn about them.

More articles by Michelle




ul

Cigarette taxes and smoking among sexual minority adults [electronic resource] / Christopher Carpenter, Dario Sansone

Cambridge, Mass. : National Bureau of Economic Research, 2020




ul

The evolving consequences of OxyContin reforumulation on drug overdoses [electronic resource] / David Powell, Rosalie Liccardo Pacula

Cambridge, Mass. : National Bureau of Economic Research, 2020




ul

Reluctant warriors: Germany, Japan, and their U.S. alliance dilemma / Alexandra Sakaki, Hanns W. Maull, Kerstin Lukner, Ellis S. Krauss, Thomas U. Berger

Dewey Library - UA710.S135 2020




ul

Faithful fighters: identity and power in the British Indian Army / Kate Imy

Dewey Library - UA668.I49 2019




ul

Me the people: how populism transforms democracy / Nadia Urbinati

Dewey Library - JC423.U776 2019




ul

The lost soul of the American presidency: the decline into demagoguery and the prospects for renewal / Stephen F. Knott

Dewey Library - JK511.K66 2019




ul

Soft target protection: theoretical basis and practical measures / edited by Ladislav Hofreiter, Viacheslav Berezutskyi, Lucia Figuli and Zuzana Zvaková

Online Resource




ul

Italian populism and constitutional law: strategies, conflicts and dilemmas / Giacomo Delledonne, Giuseppe Martinico, Matteo Monti, Fabio Pacini, editors

Online Resource




ul

How to be a dictator: the cult of personality in the twentieth century / Frank Dikötter

Dewey Library - JC495.D55 2019




ul

Congress and diaspora politics: the influence of ethnic and foreign lobbying / edited by James A. Thurber, Colton C. Campbell, and David A. Dulio

Dewey Library - JK1118.C58 2018




ul

Wartime sexual violence against men: masculinities and power in conflict zones / Élise Féron

Dewey Library - HV6558.F47 2018




ul

Back to America: identity, political culture, and the Tea Party movement / William H. Westermeyer

Dewey Library - JK2391.T43 W48 2019




ul

Gunslinging justice: the American culture of gun violence in Westerns and the law / Justin A. Joyce

Dewey Library - HV7436.J69 2018




ul

The end of strategic stability?: Nuclear weapons and the challenge of regional rivalries / Lawrence Rubin and Adam N. Stulberg, editors

Dewey Library - U263.E557 2018




ul

I am the people: reflections on popular sovereignty today / Partha Chatterjee

Dewey Library - JC423.C366 2020




ul

Imperial nation: ruling citizens and subjects in the British, French, Spanish, and American empires / Joseph M. Fredera ; translated by Ruth MacKay

Dewey Library - JC359.F6313 2018




ul

Anti-pluralism: the real populist threat to liberal democracy / William A. Galston ; foreword by James Davison and John M. Owen IV

Dewey Library - JK1726.G35 2018




ul

What we talk about when we talk about rape / Sohaila Abdulali

Hayden Library - HV6558.A295 2018




ul

Contemporary US populism in comparative perspective / Kirk Hawkins, Levente Littvay

Dewey Library - JC423.H39 2019




ul

Security and terror: American culture and the long history of colonial modernity / Eli Jelly-Schapiro

Dewey Library - HV6432.J445 2018




ul

Hacking diversity: the politics of inclusion in open technology cultures / by Christina Dunbar-Hester

Dewey Library - HV6773.D855 2020




ul

The sexual politics of gendered violence and women's citizenship / Suzanne Franzway, Nicole Moulding, Sarah Wendt, Carole Zufferey, Donna Chung

Dewey Library - HV6626.F73 2019




ul

Poll power: the Voter Education Project and the movement for the ballot in the American South / Evan Faulkenbury

Dewey Library - JK2160.F38 2019