peri

Brave Boys and Play-it-Safe Girls: Gender Differences in Willingness to Guess in a Large Scale Natural Field Experiment [electronic journal].




peri

Blood Donations and Incentives: Evidence from a Field Experiment [electronic journal].




peri

Are Estimates of Early Education Programs Too Pessimistic? Evidence from a Large-Scale Field Experiment that Causally Measures Neighbor Effects [electronic journal].




peri

The Allocation of Authority in Organizations: A Field Experiment with Bureaucrats [electronic journal].

National Bureau of Economic Research




peri

2020 21st International Conference on Thermal, Mechanical and Multi-Physics Simulation and Experiments in Microelectronics and Microsystems (EuroSimE) [electronic journal].

IEEE / Institute of Electrical and Electronics Engineers Incorporated




peri

Adhesion, stability, structural and electronic properties of perovskite/BaWO4 heterostructures: first-principles and experimental characterizations

Inorg. Chem. Front., 2024, Advance Article
DOI: 10.1039/D4QI00231H, Research Article
Yao Guo, Shiding Zhang, Zhaoyu Zhang, Yuanbin Xue, Jianxin Li, Haixiang Song, Yuhua Wang, Qing Shen
The interfacial behavior and mechanism of the CsPbBr3/BaWO4 and MAPbBr3/BaWO4 heterostructures have been extensively investigated by a combined first-principles and experimental analysis.
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




peri

World experienced its second-warmest October last month, says European weather agency

2024 “certain” to be the warmest year on record, says Copernicus Climate Change Service 




peri

His experiments in music

Musician Arun Varghese is keyed up about his work as a composer and sound designer




peri

An enriching experience

Gayathri Girish intelligent structuring of her recital paid rich dividends.




peri

Drenched in sweat, student volunteers have a bittersweet experience at sports meet in Kochi




peri

IBM’s new GenAI Innovation Centre to open doors to all looking to experiment with its AI platform




peri

Periodic review likely of PSBs, CPSEs employees

New instructions from DoPT require PSUs and Banks to review employees monthly for integrity and effectiveness.




peri

A hands-on shopping experience of athleisure wear in Coimbatore

TechnoSport offers a premium hands-on shopping experience of performance and athleisure wear with the launch of its first flagship store in Coimbatore



  • Life & Style

peri

Playing for experience is over, now is the time to win

My level is certainly high — that of Challengers which offer a prize-money of $12,000 and $15,000. I want to finish on top in such events; Saurav Ghosal helps me decide which PSA tournament I should play and takes care of drills and matches; he is not my coach but a mentor of sorts




peri

The legend of Charles Page Perin

This engineer from New York helped set up Tata Steel. Find a collection of little known tales in ‘Tata Stories’




peri

How free bus ride shapes women’s experience of public spaces

In Chennai, Bangalore, and Delhi that offer access to free transport, there is a visible change in the public space. The pink slip is not a cure-all for the deep-rooted patriarchy, but they are important steps towards reshaping urban spaces into more inclusive environments




peri

Interfacial viscoelasticity in oscillating drops of cyclodextrin-surfactant aqueous solution: experiments and theory

Soft Matter, 2024, Accepted Manuscript
DOI: 10.1039/D4SM01007H, Paper
José Roberto Romero-Arias, Alberto S. Luviano, Miguel Costas, Aurora Hernandez-Machado, Rafael A Barrio
We present experiments involving oscillating droplets in aqueous cyclodextrin-surfactant solutions. In these experiments, α-cyclodextrin (αCD) and anionic surfactants exhibit remarkable viscoelasticity at the liquid/air interface, with dilatational modulus varying across...
The content of this RSS Feed (c) The Royal Society of Chemistry




peri

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




peri

Run. Period.




peri

Don’t see tapering of deposit rates in near term, Canara Bank MD says

Bank prepared for Canara Robeco listing in Q4



  • Money &amp; Banking

peri

Gamma functions and Gauss sums for function fields and periods of Drinfeld modules [electronic resource] / by Dinesh Shraddhanand Thakur

Cambridge, MA : Harvard University ; Ann Arbor : ProQuest, UMI Dissertations Publishing, 1987




peri

Conservation technologist Arpit Deomurari on his experience in using tech for Nature

Wearing many hats — ecologist, GIS expert, data scientist, and conservation technologist — allows for a view of the connections between different fields




peri

Ammani — Mother superior

It’s like those Rajinikanth movies where he does everything for his siblings and children.




peri

Mumbai property sales in September fall due to ‘shraadh’ period

The shraadh period this year started on September 18 and ends this week on October 3




peri

Experimenting with beads

IT professional Anitha Sanju makes customised jewellery under the brand Glitter n’ Hues




peri

Mother-daughter duo to showcase Andhra Natyam and Perini Tandavam in Hyderabad

Duvvuri Vathsalendra redefines tradition by mastering Perini Thandavam and sharing its power on stage with her daughter Abhimanika




peri

KL Rahul's form and batting number in focus as India A gets 'G' experience

With Boland, one of Australia's senior reserve pacers steaming in and hitting the deck, it will be a stern test for the likes of Abhimanyu Easwaran, Ruturaj Gaikwad, B Sai Sudharsan and Devdutt Padikkal




peri

The CERN experience

Besides teaching him lifeskills, the world’s largest particle physics lab showed him a good part of Europe, writes NARESH KUMAR.




peri

Tirumurai as explained by Periyava




peri

Paeans to Periyazhwar

The scholar-saint’s avatara utsavam was celebrated at his home town Srivilliputhur recently.



  • History &amp; Culture

peri

The defining period

Lakshmi Subramanian traced the history of cultural practices.



  • History &amp; Culture

peri

When Germany’s Humboldt Forum museum turned into a venue for East-West musical experiment

Veena exponent Jayanthi Kumaresh recalls how she and violinist Kala Ramnath, along with European musicians, explored the beauty of Baroque music




peri

Newly synthesized sulfonamide derivatives explored for DNA binding, enzyme inhibitory, and cytotoxicity activities: a mixed computational and experimental analyses

RSC Adv., 2024, 14,35047-35063
DOI: 10.1039/D4RA06412G, Paper
Open Access
Nasima Arshad, Yasir Mehmood, Hammad Ismail, Fouzia Perveen, Aneela Javed, Pervaiz Ali Channar, Aamer Saeed, Sadia Naseem, Fatima Naseer
This work reports synthesis, characterization, DNA, enzyme binding and cytotoxicity activity of three 4-((3-arylthiazolo[3,4-d]isoxazol-5-yl)amino)benzene sulfonamide derivatives with a thaizaole(3,4-d)isoxazole-based fused ring heterocyclic system.
The content of this RSS Feed (c) The Royal Society of Chemistry




peri

Superior low temperature activity over α-MnO2/β-MnOOH catalyst for selective catalytic reduction of NOx with ammonia

RSC Adv., 2024, 14,35498-35504
DOI: 10.1039/D4RA05934D, Paper
Open Access
Masanori Takemoto, Haruko Fujinuma, Yoshihiro Sugawara, Yukichi Sasaki, Kenta Iyoki, Tatsuya Okubo, Kazuya Yamaguchi, Toru Wakihara
α-MnO2/β-MnOOH catalysts were synthesized by post-synthetic planetary ball milling for OMS-2, enhancing catalytic activity in low-temperature NH3-SCR.
The content of this RSS Feed (c) The Royal Society of Chemistry




peri

Citing ‘exigency’, T.N. Health Dept posts 51 PGs to peri-urban, rural government medical colleges

Official sources and a number of senior doctors confirmed that these deputation/postings were made to address specific manpower shortages in medical colleges in Nagapattinam, Tiruvallur and Tiruvarur




peri

Gold outperforms Nifty 50 over 2-year and 5-year periods

Data from PMS Bazaar indicates that from FY22-24, MCX Gold returned 14.05%, outperforming the Nifty’s 13.1%




peri

As prices soften, festival period triggers buying interest in gold jewellery

Sales up 20% during Ganesh Chathurthi, wedding demand could buoy demand for the precious metal further



  • Gold &amp; Silver

peri

Investigating the Stanford Prison experiment [electronic resource] : history of a lie / Thibault Le Texier.

Cham : Springer, 2024.




peri

Economics Nobel Winners 2024 and their studies on ‘how institutions are formed and affect prosperity’

Daron Acemoglu and Simon Johnson are professors at the Massachusetts Institute of Technology while James Robinson is based at the Harris School of Public Policy and Department of Political Science at the University of Chicago.




peri

A model experiment

A bunch of young people from Pappampatty village in Tamil Nadu work tirelessly to empower the rural youth by providing them education, employment opportunities and a will to help other needy people. K. JESHI reports




peri

XRDMatch: a semi-supervised learning framework to efficiently discover room temperature lithium superionic conductors

Energy Environ. Sci., 2024, Advance Article
DOI: 10.1039/D4EE02970D, Paper
Zheng Wan, Zhenying Chen, Hao Chen, Yizhi Jiang, Jinhuan Zhang, Yidong Wang, Jindong Wang, Hao Sun, Zhongjie Zhu, Jinhui Zhu, Linyi Yang, Wei Ye, Shikun Zhang, Xing Xie, Yue Zhang, Xiaodong Zhuang, Xiao He, Jinrong Yang
We propose XRDMatch, a semi-supervised learning framework that integrates consistency regularization and pseudo-labeling. Using X-ray diffraction patterns as descriptors, it effectively addresses data scarcity by leveraging abundant unlabeled data.
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




peri

Strengthening the India link in the Indo-Pacific Economic Framework for Prosperity

India’s formal acceptance of two landmark agreements will boost the IPEF




peri

Experimental study of CO2 capture from air via steam-assisted temperature-vacuum swing adsorption with a compact kg-scale pilot unit

React. Chem. Eng., 2024, 9,910-924
DOI: 10.1039/D3RE00460K, Paper
Open Access
  This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.
H. M. Schellevis, D. W. F. Brilman
Reactor design and process performance evaluation.
The content of this RSS Feed (c) The Royal Society of Chemistry




peri

Automated kinetic model identification via cloud services using model-based design of experiments

React. Chem. Eng., 2024, Advance Article
DOI: 10.1039/D4RE00047A, Paper
Open Access
  This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.
Emmanuel Agunloye, Panagiotis Petsagkourakis, Muhammad Yusuf, Ricardo Labes, Thomas Chamberlain, Frans L. Muller, Richard A. Bourne, Federico Galvanin
Industry 4.0 has birthed a new era for the chemical manufacturing sector, transforming reactor design and integrating digital twin into process control.
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




peri

Experimental Investigation of Mass Transfer in NH3 SCR Over Self-Supporting Cu-ZSM-5 Foam

React. Chem. Eng., 2024, Accepted Manuscript
DOI: 10.1039/D3RE00533J, Paper
Risha Raju, Kuruvilla Joseph, K. Prabhakaran, A. Salih
Selective catalytic reduction of NOx by NH3 is an emerging technology for emission control applications worldwide. The development of structured catalysts for process intensification is of growing interest in catalytic...
The content of this RSS Feed (c) The Royal Society of Chemistry




peri

Immunomodulatory effects of supercritical CO2 extracted oils from Portulaca oleracea and Perilla frutescens (PPCE) in healthy individuals: a randomized double-blind clinical trial

Food Funct., 2024, Advance Article
DOI: 10.1039/D4FO03361B, Paper
Su-Jin Jung, Hyang-Im Baek, Eun-Ock Park, Ki-Chan Ha, Deuk-Seon Park, Soo-Wan Chae, Seung-Ok Lee
This study evaluated the immune-boosting effects of Portulaca oleracea L. and Perilla frutescens var. japonica Hara extract oils (PPCE) in healthy individuals. PPCE improved NK cell activity and cytokine levels (IL-12, IFN-γ) without adverse effects, supporting immune enhancement.
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




peri

A novel method for exploration and prediction of the bioactive target of rice bran-derived peptide (KF-8) by integrating computational methods and experiments

Food Funct., 2024, Advance Article
DOI: 10.1039/D4FO02493A, Paper
Rui Liang, Fangliang Song, Ying Liang, Yanpeng Fang, Jianqiang Wang, Yajuan Chen, Zhongxu Chen, Xiaorong Tan, Jie Dong
The diagram of the strategy to explore peptide targets based on model predictions and experiments.
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




peri

ISRO-DBT ink deal to conduct biotechnology experiments in space station

Some of the experiments being mooted include how weightlessness can influence muscle loss on those in space, what kind of algae may be suitable as nutrients or to preserve food for longer




peri

That special Oxford experience

Studying law, distinct teaching pedagogies and the English way of life — NIDHI SINGH writes about her experience at Oxford University.




peri

Cineline India Limited - Board Meeting Intimation for To Consider And Approve The Financial Results For The Period Ended Jun 30, 2019 And Other Matters