bra

The coup : 1953, the CIA, and the roots of modern U.S.-Iranian relations / Ervand Abrahamian

Abrahamian, Ervand, 1940-




bra

CRS Employment Opportunities: Research Librarian (Domestic Social Policy)

CRS is accepting applications through the Graduate Recruit Program for a Research Librarian (Domestic Social Policy), GS-9 until April 10, 2020.

Click here for more information.




bra

CRS Employment Opportunities: Law Librarian

CRS is accepting applications for a Law Librarian, GS-12 until May 22, 2020.

Click here for more information.




bra

[ASAP] Tandem NMR and Mass Spectrometry Analysis of Human Nuclear Membrane Lipids

Analytical Chemistry
DOI: 10.1021/acs.analchem.9b05052




bra

[ASAP] 27-Plex Tandem Mass Tag Mass Spectrometry for Profiling Brain Proteome in Alzheimer’s Disease

Analytical Chemistry
DOI: 10.1021/acs.analchem.0c00655




bra

[ASAP] CycloBranch 2: Molecular Formula Annotations Applied to imzML Data Sets in Bimodal Fusion and LC-MS Data Files

Analytical Chemistry
DOI: 10.1021/acs.analchem.0c00170




bra

[ASAP] Characterization of Conjugation Effects in the Series of Quinoxaline-2-ones by Means of Vibrational Raman Spectroscopy

The Journal of Physical Chemistry A
DOI: 10.1021/acs.jpca.0c01838




bra

[ASAP] Acoustic Vibrations of Al Nanocrystals: Size, Shape, and Crystallinity Revealed by Single-Particle Transient Extinction Spectroscopy

The Journal of Physical Chemistry A
DOI: 10.1021/acs.jpca.0c01190




bra

[ASAP] Vibrational Partition Function for the Multitemperature Theories of High-Temperature Flows of Gases and Plasmas

The Journal of Physical Chemistry A
DOI: 10.1021/acs.jpca.0c01161




bra

Brassica improvement: molecular, genetics and genomic perspectives / Shabir Hussain Wani, Ajay Kumar Thakur, Yasin Jeshima Khan, editors

Online Resource




bra

Coral whisperers: scientists on the brink / Irus Braverman

Barker Library - GC30.A1 B73 2018




bra

Mixed plantations of eucalyptus and leguminous trees: soil, microbiology and ecosystem services / Elke Jurandy Bran Nogueira Cardoso, José Leonardo de Moraes Gonçalves, Fabiano de Carvalho Balieiro, Avílio Antônio Franco, editors

Online Resource




bra

How to Easily Animate Website Elements on Scroll Using the Free AOS Library

On-scroll animations can add quite the elegant effect to your website. A little animated polish can go a long way towards making your site look well-rounded and complete. With JavaScript and CSS, you can make elements fade, slide, or even …




bra

Diffusive transport of nanoscale objects through cell membranes: a computational perspective

Soft Matter, 2020, 16,3869-3881
DOI: 10.1039/C9SM02338K, Perspective
Ziyang Xu, Lijuan Gao, Pengyu Chen, Li-Tang Yan
Clarifying the diffusion dynamics of nanoscale objects with cell membrane is critical for revealing fundamental physics in biological systems. This perspective highlights the advances in computational and theoretical aspects of this emerging field.
The content of this RSS Feed (c) The Royal Society of Chemistry




bra

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




bra

Liposomal adhesion via electrostatic interactions and osmotic deflation increase membrane tension and lipid diffusion coefficient

Soft Matter, 2020, Advance Article
DOI: 10.1039/D0SM00416B, Paper
Atsushi Oda, Chiho Watanabe, Natsumi Aoki, Miho Yanagisawa
Liposome–liposome adhesion by electrostatic interactions and osmotic contraction increase membrane tension and the lipid diffusion coefficient compared to isolated liposomes.
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




bra

Reversible membrane deformations by straight DNA origami filaments

Soft Matter, 2020, Accepted Manuscript
DOI: 10.1039/D0SM00150C, Paper
Open Access
  This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.
Henri Girao Franquelim, Hendrik Dietz, Petra Schwille
Membrane-active cytoskeletal elements, such as FtsZ, septin or actin, form filamentous polymers able to induce and stabilize curvature on cellular membranes. In order to emulate the characteristic dynamic self-assembly properties...
The content of this RSS Feed (c) The Royal Society of Chemistry




bra

Copper, Brass, and Bronze Surfaces: A Guide to Alloys, Finishes, Fabrication, and Maintenance in Architecture and Art


 

A FULL-COLOR GUIDE FOR ARCHITECTS AND DESIGN PROFESSIONALS TO THE SELECTION AND APPLICATION OF COPPER, BRASS, AND BRONZE

Copper, Brass, and Bronze Surfaces, third in Zahner's Architectural Metals Series, provides a comprehensive and authoritative treatment of copper, brass, and bronze applications in architecture and art. If offers architecture and design professionals the information they need to ensure proper maintenance and fabrication techniques



Read More...




bra

[ASAP] Development of Lipid-Coated Semiconductor Nanosensors for Recording of Membrane Potential in Neurons

ACS Photonics
DOI: 10.1021/acsphotonics.9b01558




bra

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




bra

The anti-black city: police terror and black urban life in Brazil / Jaime Amparo Alves

Dewey Library - HV8183.A48 2018




bra

Race on the brain: what implicit bias gets wrong about the struggle for racial justice / Jonathan Kahn

Dewey Library - HV9950.K34 2018




bra

Unbearable life: a genealogy of political erasure / Arthur Bradley

Dewey Library - JF801.B69 2019




bra

Brazil: neoliberalism versus democracy / Alfredo Saad-Filho and Lecio Morais

Rotch Library - JL2431.S23 2018




bra

The myth of coequal branches: restoring the constitution's separation of functions / David J. Siemers

Dewey Library - JK305.S54 2018




bra

Presidential Rhetoric on Terrorism under Bush, Obama and Trump: Inflating and Calibrating the Threat After 9/11 / Gabriel Rubin

Online Resource




bra

Court junks plea for brain mapping test on Lashkar 'bomb expert' Tunda

Alleged Laskhar-e-Toiba bomb expert refused to give his consent for it.




bra

Take Brand India to the world: Modi to admen, marketers

"India should try to inspire people rather than just impressing them," Modi said.




bra

Delhi: Durga Puja's capital shift celebrates 100 years

Bengali families have the colonial rulers to thank for suggesting that they hold Puja celebrations.




bra

SC disapproves gun firing to celebrate marriage ceremonies

Guns must be carried with a sense of responsibility and caution, SC stated.




bra

IILM, University of Bradford complete 18 years of association

IILM Institute for Higher Education was established in 1993 to impart management education and to build up future business leaders.




bra

Odisha, Andhra brace for devastation as Cyclone Phailin approaches

Filling most of the Bay of Bengal, Cyclone Phailin is expected to hit between 6-8pm.




bra

Prince Charles celebrates 65th B'day in Kerala lake resort

Prince Charles was presented with a state memento, an elephant carved in wood.




bra

A week after Helen, Andhra braces for 'very severe cyclonic storm' Lehar

Moderate rainfall at many places would commence from Nov 27 afternoon.




bra

After Phailin, 10 Orissa districts brace for floods as Cyclone Lehar closes in

There is no possibility of cyclone Lehar affecting the state, but it may trigger heavy rains.




bra

Akal Takht upset over jail term to Lt Gen Brar's attackers

Three Sikh men and a woman are convicted of carrying out a revenge attack on Lt Gen Brar.




bra

A field guide to algebra [electronic resource] / Antoine Chambert-Loir

New York : Springer, [2005]




bra

Combinatorics and commutative algebra [electronic resource] / Richard P. Stanley

Boston : Birkhäuser, [1996]




bra

Computer algebra and geometric algebra with applications [electronic resource] : 6th international workshop, IWMM 2004, Shanghai, China, May 19-21, 2004 and international workshop, GIAE 2004, Xian, China, May 24-28, 2004 : revised selected papers / Hongbo

Berlin ; New York : Springer, [2005]




bra

Computer algebra in scientific computing [electronic resource] : 10th international workshop, CASC 2007, Bonn, Germany, September 16-20, 2007 : proceedings / Victor G. Ganzha, Ernst W. Mayr, Evgenii V. Vorozhtsov (eds.)

Berlin ; New York : Springer, [2007]




bra

Computer algebra in scientific computing [electronic resource] : CASC 2005 : 8th International Workshop, CSAC 2005, Kalamata, Greece, September 12-16, 2005 / Victor G. Ganzha, Ernst W. Mayr, Evgenii V. Vorozhtsov (eds.)

Berlin ; New York : Springer, [2005]




bra

Computer algebra in scientific computing [electronic resource] : 9th international workshop, CASC 2006, Chişinău, Moldova, September 11-15, 2006 ; proceedings / Victor G. Ganzha, Ernst W. Mayr, Evgenii V. Vorozhtsov (eds.)

Berlin ; New York : Springer, 2006




bra

Computer algebra recipes [electronic resource] : an advanced guide to scientific modeling / Richard H. Enns, George C. McGuire

New York : Springer, 2007




bra

Computing in algebraic geometry [electronic resource] : a quick start using SINGULAR / Wolfram Decker, Christoph Lossen

Berlin ; Springer ; [2006]




bra

Einfhrung in die moderne matrix-algebra [electronic resource] : mit anwendungen in der statistik / Karsten Schmidt, Götz Trenkler

Berlin : Springer-Verlag, [2006]




bra

Cryptography and coding [electronic resource] : 11th IMA International Conference, Cirencester, UK, December 18-20, 2007 : proceedings / Steven D. Galbraith (ed.)

Berlin ; New York : Springer, [2007]




bra

Conics and cubics [electronic resource] : a concrete introduction to algebraic curves / Robert Bix

New York : Springer, [2006]




bra

The evolution of carbon markets [electronic resource] : design and diffusion / edited by Jørgen Wettestad and Lars H. Gulbrandsen




bra

An epistemology of noise / Cecile Malaspina ; foreword by Ray Brassier

Malaspina, Cécile, author




bra

Offshore energy and marine spatial planning / edited by Katherine L. Yates and Corey J.A. Bradshaw