cement

Advances in cement analysis and concrete petrography / editors, Derek Cong and Don Broton

Barker Library - TA435.A36 2019




cement

Gadget Lab - Video Recap: Apple’s Biggest Announcements From WWDC

THE BIGGEST APPLE developer event of the year kicked off this morning at Moscone Center in San Francisco. WIRED’s David Pierce attended the WWDC keynote, and he gives us a quick recap on all the news. There are enhancements coming to Apple’s desktop OS, it’s iOS software, and a big update to the three-months-old Apple Watch that includes support for native apps.




cement

Photoluminescence enhancement of MoS2/CdSe quantum rod heterostructures induced by energy transfer and exciton–exciton annihilation suppression

Nanoscale Horiz., 2020, Advance Article
DOI: 10.1039/C9NH00802K, Communication
Yang Luo, Hangyong Shan, Xiaoqing Gao, Pengfei Qi, Yu Li, Bowen Li, Xin Rong, Bo Shen, Han Zhang, Feng Lin, Zhiyong Tang, Zheyu Fang
The exciton dynamics of the acceptor are revealed and enhanced photoluminescence of the heterostructure is achieved by energy transfer and exciton–exciton annihilation suppression.
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




cement

Design for multi-step mechanochromic luminescence property by enhancement of environmental sensitivity in a solid-state emissive boron complex

Mater. Chem. Front., 2020, Advance Article
DOI: 10.1039/C9QM00719A, Research Article
Satoru Saotome, Kazumasa Suenaga, Kazuo Tanaka, Yoshiki Chujo
The solid-state emissive boron complex with multi-step mechanochromic luminescence was designed. The crystalline sample showed gradual changes in luminescent color triggered by scratching. The design concept is illustrated.
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




cement

The power of dissociation: development of displacement assays for chemosensing and latent catalytic systems

Mater. Chem. Front., 2020, 4,1328-1339
DOI: 10.1039/C9QM00639G, Review Article
Cheuk-Fai Chow, Anxun Zheng, Min Huang, Chang Shen
Disassembly is an essential process in supramolecular chemistry. In this review, different bimetallic donor–acceptor-based chemosensors, chemodosimeters, catalysts and latent catalysts founded on various displacement assays will be discussed.
The content of this RSS Feed (c) The Royal Society of Chemistry




cement

[ASAP] Effects of Graphene Oxide on the Mechanical and Microscopic Characteristics of Cement-Based Plugging Material for Preventing Spontaneous Combustion of Coal

Energy & Fuels
DOI: 10.1021/acs.energyfuels.0c00493




cement

[ASAP] Enhanced Oil Recovery Using Oleic Acid-Modified Titania Nanofluids: Underlying Mechanisms and Oil-Displacement Performance

Energy & Fuels
DOI: 10.1021/acs.energyfuels.0c00594




cement

Law Enforcement RSS Feeds from Police One

If you hate missing out on the latest news from PoliceOne, are having a hard time managing the deluge of information you receive from our newsletters, or simply want a more convenient way to manage and control your online news and information, RSS feeds may be the answer.

complete article




cement

Reinforcement learning and optimal control / by Dimitri P. Bertsekas

Dewey Library - QA402.5.B465 2019




cement

Simultaneous enhancement of thermoelectric and mechanical performance for SnTe by nano SiC compositing

J. Mater. Chem. C, 2020, Advance Article
DOI: 10.1039/D0TC00572J, Paper
Teng Wang, Hongchao Wang, Wenbin Su, Jinze Zhai, Galina Yakovleva, Xue Wang, Tingting Chen, Anatoly Romanenko, Chunlei Wang
SiC is firstly introduced into SnTe. The created lattice mismatch and interfaces via hand milling are responsible for the enhanced zT, which is comparable with doped samples. Besides, the hardness of samples is got improved with SiC compositing.
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




cement

Efficiency enhancement in inverted organic light-emitting device with TiO2 electron injection layer through interfacial engineering

J. Mater. Chem. C, 2020, Accepted Manuscript
DOI: 10.1039/D0TC01040E, Paper
Chunxiu Zang, Hui Wang, Shihao Liu, Wenbin Guo, Letian Zhang, Wenfa Xie
TiO2 is widely used in optoelectronic device especially organic solar cells due to the excellent optical and electrical properties. While its application in organic light-emitting devices (OLEDs) as electron injection...
The content of this RSS Feed (c) The Royal Society of Chemistry




cement

Plasmonic enhancement of photocurrent generation in a photosystem I-based hybrid electrode

J. Mater. Chem. C, 2020, 8,5807-5814
DOI: 10.1039/C9TC06983F, Paper
Marcin Szalkowski, Ersan Harputlu, Małgorzata Kiliszek, C. Gokhan Unlu, Sebastian Maćkowski, Kasim Ocakoglu, Joanna Kargul, Dorota Kowalska
We demonstrate that oriented assembly of red algal photosystem I reaction centers on a plasmonically active Silver Island Film leads to strong enhancement of both photocurrent and fluorescence intensity.
The content of this RSS Feed (c) The Royal Society of Chemistry




cement

Reinforcement learning of bimanual robot skills / Adrià Colomé, Carme Torras

Online Resource




cement

Positive displacement machines: modern design innovations and tools / [edited by] Ibrahim A. Sultan, Truong H. Phung

Online Resource




cement

Accuracy enhancement technologies for micromachining processes edited by Golam Kibria, B. Bhattacharyya

Online Resource




cement

[ASAP] Pressure-Induced Enhancement of Broad-Band White Light Emission in Butylammonium Lead Bromide

The Journal of Physical Chemistry Letters
DOI: 10.1021/acs.jpclett.0c01160




cement

Journal of sustainable cement-based materials [electronic journal].




cement

Advancement in Technology (GCAT), 2019 Global Conference for [electronic journal].




cement

2019 Global Conference for Advancement in Technology (GCAT) [electronic journal].




cement

[ASAP] Pt Deposits on Bi/Pt NP Catalyst for Formic Acid Oxidation: Catalytic Enhancement and Longer Lifetime

Langmuir
DOI: 10.1021/acs.langmuir.0c00755




cement

[ASAP] Possible Charge-Transfer-Induced Conductivity Enhancement in TiO<sub>2</sub> Microtubes Decorated with Perovskite CsPbBr<sub>3</sub> Nanocrystals

Langmuir
DOI: 10.1021/acs.langmuir.9b03871




cement

Advancements of mass spectrometry in biomedical research / Alisa G. Woods, Costel C. Darie, editors

Online Resource




cement

Recent advancement in white biotechnology through fungi. Ajar Nath Yadav, Shashank Mishra, Sangram Singh, Arti Gupta, editors

Online Resource




cement

Recent advancement in white biotechnology through fungi. Ajar Nath Yadav, Sangram Singh, Shashank Mishra, Arti Gupta, editors

Online Resource




cement

Recent Advancement in White Biotechnology Through Fungi. Ajar Nath Yadav, Sangram Singh, Shashank Mishra, Arti Gupta, editors

Online Resource




cement

Nanotechnology in biology and medicine: research advancements & future perspectives / edited by Pradipta Ranjan Rauta, Yugal Kishore Mohanta, Debasis Nayak

Online Resource




cement

Acting too soon on knee replacement?




cement

Intuitionistic and type-2 fuzzy logic enhancements in neural and optimization algorithms: theory and applications / Oscar Castillo, Patricia Melin, Janusz Kacprzyk, editors

Online Resource




cement

Particle/cell separation using sheath-free deterministic lateral displacement arrays with inertially focused single straight input

Lab Chip, 2020, Advance Article
DOI: 10.1039/D0LC00354A, Paper
Naotomo Tottori, Takasi Nisisako
We propose sheath-free microfluidic deterministic lateral displacement devices with inertially focused single straight input.
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




cement

Bishops in flight: exile and displacement in late antiquity / Jennifer Barry

Online Resource




cement

Podcast: Scientists on the night shift, sucking up greenhouse gases with cement, and repetitive stress in tomb builders

 This week, we chat about cement’s shrinking carbon footprint, commuting hazards for ancient Egyptian artisans, and a new bipartisan group opposed to government-funded animal research in the United States with Online News Editor David Grimm. Plus, Science’s Alexa Billow talks to news writer Sam Kean about the kinds of data that can only be gathered at night as part of the special issue on circadian biology.  Listen to previous podcasts.  [Image: roomauction/iStockphoto; Music: Jeffrey Cook]




cement

An Introduction to Random Interlacements [electronic resource] / by Alexander Drewitz, Balázs Ráth, Artëm Sapozhnikov

Cham : Springer International Publishing : Imprint: Springer, 2014




cement

Impact of new and emerging information and communications technology / Parliamentary Joint Committee on Law Enforcement

Australia. Parliament. Joint Committee on Law Enforcement, author, issuing body




cement

Protein—fragment complex structures derived by NMR Molecular Replacement

RSC Med. Chem., 2020, Accepted Manuscript
DOI: 10.1039/D0MD00068J, Research Article
Open Access
  This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.
Felix Torres, Dhiman Ghosh, Dean Strotz, Celestine Chi, Ben Davis, Julien Orts
Recently we have established an NMR Molecular Replacement method, which is capable of solving the structure of the interaction site of protein-ligand complexes in a fully automated manner. While the...
The content of this RSS Feed (c) The Royal Society of Chemistry




cement

LRFD minimum flexural reinforcement requirements / Sri Sritharan, Hartanto Wibowo, Michael J. Rosenthal, Jacob N. Eull (Iowa State University) ; Jay Holombo (T.Y. Lin International)

Barker Library - TE7.N25 no.906




cement

How clay particulates affect flow cessation and the coiling stability of yield stress-matched cementing suspensions

Soft Matter, 2020, 16,3929-3940
DOI: 10.1039/C9SM02414J, Paper
Iman Mehdipour, Hakan Atahan, Narayanan Neithalath, Mathieu Bauchy, Edward Garboczi, Gaurav Sant
Transition from closely-packed to fractally-architected structures with clay addition improves homogeneity and prevents local dewatering, thus enhancing coiling stability of layer-wise extruded cementing suspensions during 3D-printing.
The content of this RSS Feed (c) The Royal Society of Chemistry




cement

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




cement

Mamata’s Eid announcement: Wait for my book of Urdu shayari



  • DO NOT USE West Bengal
  • India

cement

JSJ 343: The Power of Progressive Enhancement with Andy Bell

Panel:

  • Charles Max Wood
  • Aimee Knight
  • Chris Ferdinandi
  • AJ O’Neal

Special Guest: Andy Bell

In this episode, the panel talks with Andy Bell who is an independent designer and developer who uses React, Vue, and Node. Today, the panelists and the guest talk about the power of progressive enhancements. Check it out!

Show Topics:

0:00 – Advertisement: KENDO UI

0:34 – Chuck: Hi! Our panel is AJ, Aimee, Chris, myself and my new show is coming out in a few weeks, which is called the DevRev! It helps you with developer’s freedom! I am super excited. Our guest is Andy Bell. Introduce yourself, please.

2:00 – Guest: I am an independent designer and developer out in the U.K.

2:17 – Chuck: You wrote things about Vanilla.js. I am foreshadowing a few things and let’s talk about the power and progressive enhancement.

2:43 – The guest gives us definitions of power and progressive enhancements. He describes how it works.

3:10 – Chuck: I’ve heard that people would turn off JavaScript b/c it was security concern and then your progressive enhancement would make it work w/o JavaScript. I am sure there’s more than that?

3:28 – The guest talks about JavaScript, dependencies, among other things.

4:40 – Chuck: Your post did make that very clear I think. I am thinking I don’t even know where to start with this. Are people using the 6th version? How far back or what are we talking about here?

5:09 – Guest: You can go really far back and make it work w/o CSS.

5:49 – Chris: I am a big advocate of progressive enhancement – the pushback I get these days is that there is a divide; between the broadband era and AOL dialup. Are there compelling reasons why progressive enhancements even matter?

6:48 – Guest.

8:05 – Panel: My family lives out in the boonies. I am aware of 50% of American don’t have fast Internet. People don’t have access to fast browsers but I don’t think they are key metric users.

8:47 – Guest: It totally depends on what you need it for. It doesn’t matter if these people are paying or not.

9:31 – Chris: Assuming I have a commute on the trail and it goes through a spotty section. In a scenario that it’s dependent on the JS...are we talking about 2 different things here?

10:14 – Panelist chimes-in.

10:36 – Chris: I can take advantage of it even if I cannot afford a new machine.

10:55 – Panel: Where would this really matter to you?

11:05 – Chris: I do have a nice new laptop.

11:12 – Chuck: I had to hike up to the hill (near the house) to make a call and the connection was really poor (in OK). It’s not the norm but it can happen.

11:37 – Chris: Or how about the All Trails app when I am on the trail.

11:52 – Guest.

12:40 – Chris: I can remember at the time that the desktop sites it was popular to have...

Chris: Most of those sites were inaccessible to me.

13:17 – Guest.

13:51 – Chuck: First-world countries will have a good connection and it’s not a big deal. If you are thinking though about your customers and where they live? Is that fair? I am thinking that my customers need to be able to access the podcast – what would you suggest? What are the things that you’d make sure is accessible to them.

14:31 – Guest: I like to pick on the minimum viable experience? I think to read the transcript is important than the audio (MP3).

15:47 – Chuck.

15:52 – Guest: It’s a lot easier with Vue b/c you don’t’ have to set aside rendering.

17:13 – AJ: I am thinking: that there is a way to start developing progressively and probably cheaper and easier to the person who is developing. If it saves us a buck and helps then we take action.

17:49 – Guest: It’s much easier if you start that way and if you enhance the feature itself.

18:38 – AJ: Let me ask: what are the situations where I wouldn’t / shouldn’t worry about progressive enhancements?

18:57 – Guest answers the question.

19:42 – AJ: I want people to feel motivated in a place WHERE to start. Something like a blog needs Java for comments.

Hamburger menu is mentioned, too.

20:20 – Guest.

21:05 – Chris: Can we talk about code?

21:16 – Aimee: This is the direction I wanted to go. What do you mean by that – building your applications progressively?

Aimee refers to his blog.

21:44 – Guest.

22:13 – Chuck: I use stock overflow!

22:20 – Guest.

22:24 – Chuck: I mean that’s what Chris uses!

22:33 – Guest (continues).

23:42 – Aimee.

23:54 – Chris.

24:09 – Chris

24:16 – Chris: Andy what do you think about that?

24:22 – Guest: Yes, that’s good.

24:35 – Chris: Where it falls apart is the resistance to progressive enhancements that it means that your approach has to be boring?

25:03 – Guest answers the question.

The guest mentions modern CSS and modern JavaScript are mentioned along with tooling.

25:50 – Chuck: My issue is that when we talk about this (progressive enhancement) lowest common denominator and some user at some level (slow network) and then they can access it. Then the next level (better access) can access it. I start at the bottom and then go up. Then when they say progressive enhancement I get lost. Should I scrap it and then start over or what?

26:57 – Guest: If it’s feasible do it and then set a timeline up.

27:42 – Chuck: You are saying yes do it a layer at a time – but my question is HOW? What parts can I pair back? Are there guidelines to say: do this first and then how to test?

28:18 – Advertisement – Sentry.io

29:20 – Guest: Think about the user flow. What does the user want to do at THIS point? Do you need to work out the actual dependencies?

30:31 – Chuck: Is there a list of those capabilities somewhere? So these users can use it this way and these users can use it that way?

30:50 – Guest answers the question.

31:03 – Guest: You can pick out the big things.

31:30 – Chuck: I am using this feature in the browser...

31:41 – Guest.

31:46 – Chris: I think this differently than you Andy – I’ve stopped caring if a browser supports something new. I am fine using CSS grid and if your browser doesn’t support it then I don’t have a problem with that. I get hung up on, though if this fails can they still get the content? If they have no access to these – what should they be able to do?

Note: “Cutting the Mustard Test” is mentioned.

33:37 – Guest.

33:44 – Chuck: Knowing your users and if it becomes a problem then I will figure it out.

34:00 – Chris: I couldn’t spare the time to make it happen right now b/c I am a one-man shop.

34:20 – Chuck and Chris go back-and-forth.

34:36 –Chris: Check out links below for my product.

34:54 – AJ: A lot of these things are in the name: progressive.

36:20 – Guest.

38:51 – Chris: Say that they haven’t looked at it all before. Do you mind talking about these things and what the heck is a web component?

39:14 – The guest gives us his definition of what a web component is.

40:02 – Chuck: Most recent episode in Angular about web components, but that was a few years ago. See links below for that episode.

40:25 – Aimee.

40:31 – Guest: Yes, it’s a lot like working in Vue and web components. The concepts are very similar.

41:22 – Chris: Can someone please give us an example? A literal slideshow example?

41:45 – Guest answers the question.

45:07 – Chris.

45:12 – Guest: It’s a framework that just happens to use web components and stuff to help.

45:54 – Chuck: Yeah they make it easier (Palmer). Yeah there is a crossover with Palmer team and other teams. I can say that b/c I have talked with people from both teams. Anything else?

46:39 – Chuck: Where do they go to learn more?

46:49 – Guest: Check out the Club! And my Twitter! (See links below.)

47:33 – Chuck: I want to shout-out about DevLifts that has $19 a month to help you with physical goals. Or you can get the premium slot! It’s terrific stuff. Sign-up with DEVCHAT code but there is a limited number of slots and there is a deadline, too. Just try it! They have a podcast, too!

49:16 – Aimee: Yeah, I’m on their podcast soon!

49:30 – Chuck: Picks!

END – Advertisement: CacheFly!

Links:

Sponsors:

Picks:

Aimee

Chris

AJ

Charles

Andy




cement

Inpatient PCI Volume and Transcatheter Aortic Valve Replacement or Mitral Valve Repair Outcomes

This cross-sectional study investigates whether hospital inpatient percutaneous coronary intervention volume is associated with rates of 30-day risk-adjusted mortality and hospital readmission after transcatheter aortic valve replacement and transcatheter mitral valve repair.




cement

[ASAP] Advancement of Actinide Metal–Organic Framework Chemistry via Synthesis of Pu-UiO-66

Journal of the American Chemical Society
DOI: 10.1021/jacs.0c01895




cement

CSS image replacement. One more time.

An accessible image replacement method using pseudo-elements and generated-content. This method works with images and/or CSS off, with semi-transparent images, doesn’t hide text from screen-readers or search engines, and provides fallback for IE 6 and IE 7.

Known support: Firefox 1.5+, Safari 3+, Chrome 3+, Opera 9+, IE 8+

What’s wrong with current methods?

The two most widely used image replacement techniques are the Gilder/Levin Method and the Phark Method. Both have different flaws.

The Gilder/Levin Method requires the addition of presentational HTML (an empty span) and doesn’t work with transparent images as the default text shows through. The Phark Method uses a negative text-indent to hide the text and so it is not visible when CSS is on and images are off.

Resurrecting the NIR method

Using pseudo-elements and generated-content as an image replacement technique isn’t a new idea. It was proposed and demonstrated by Paul Nash back in 2006. This is the Nash Image Replacement method.

<h1 class="nir">[content]</h1>
.nir {
   height: 100px; /* height of replacement image */
   padding: 0;
   margin: 0;
   overflow: hidden;
}

.nir:before {
   content: url(image.gif);
   display: block;
}

The height value is equal to that of the replacement image. Setting overflow:hidden ensures that the original content is not visible on screen when the image is loaded. The replacement image is inserted as generated content in the :before pseudo-element which is set to behave like a block element in order to push the element’s original content down.

What about IE 6 and IE 7?

Neither browser supports :before; if you need to support them you’ll have to rely on the Phark method. This can be done using conditional comments or safe IE6/7 hacks to serve alternative styles to legacy versions of IE .

<!--[if lte IE 7]>
<style>
.nir {
   height: 100px;
   padding: 0;
   margin: 0;
   overflow: hidden;
   text-indent: -9000px;
   background: url(image.gif) no-repeat 0 0;
}
</style>
<![endif]-->

Using the NIR method allows you to keep your HTML semantic and deliver improved accessibility to users of modern browsers. The Phark Method can then be served to IE 6 and IE 7.

Improving the NIR method

The first problem with NIR is that if images are disabled all browsers leave whitespace above the element’s content. Opera 10.5 even displays the text string “image”! If the height of the element is small enough this whitespace causes the element’s content to overflow and be partially or completely hidden when images are disabled.

Another consideration is what happens if an image doesn’t exist or fails to load. Safari and Chrome will display a “missing image” icon that cannot be removed. Once again, this can cause the element’s content to overflow and become partially or completely hidden to users.

A more robust version of the NIR method is the following modification:

.nir {
   height: 100px; /* height of replacement image */
   width: 400px; /* width of replacement image */
   padding: 0;
   margin: 0;
   overflow: hidden;
}

.nir:before {
   content: url(image.gif);
   display: inline-block;
   font-size: 0;
   line-height: 0;
}

Setting font-size and line-height to 0 avoids the whitespace problems in all browsers. Setting the element’s width equal to that of the replacement image and getting the pseudo-element to act as an inline-block helps minimise the problems in webkit browsers should an image fail to load.

Ideally browsers would avoid displaying anything in a pseudo-element when its generated-content image fails to load. If that were the case, the original NIR method would be all that is needed.

What about using sprites?

One of the most common uses of image replacement is for navigation. This often involves using a large sprite with :hover and :active states as a background image. It turns out that using sprites is not a problem for modern browsers. When using the modified-NIR method the sprite is included as a generated-content image that is positioned using negative margins.

This is an example that rebuilds the right-hand category navigation from Web Designer Wall using a sprite and the modified-NIR method.

<ul id="nav">
  <li id="nav-item-1"><a href="#non">Tutorials</a></li>
  <li id="nav-item-2"><a href="#non">Trends</a></li>
  <li id="nav-item-3"><a href="#non">General</a></li>
</ul>
/* modified-NIR */

#nav a {
  display: block;
  width: 225px;
  height: 46px;
  overflow: hidden;
}

#nav a:before {
   content:url(sprite.png);
   display:-moz-inline-box; /* for Firefox 1.5 & 2 */
   display:inline-block;
   font-size:0;
   line-height:0;
}

/* repositioning the sprite */

#nav-item-1 a:hover:before,
#nav-item-1 a:focus:before,
#nav-item-1 a:active:before {margin:-46px 0 0;}

#nav-item-2 a:before        {margin:-92px 0 0;}
#nav-item-2 a:hover:before,
#nav-item-2 a:focus:before,
#nav-item-2 a:active:before {margin:-138px 0 0;}

#nav-item-3 a:before        {margin:-184px 0 0;}
#nav-item-3 a:hover:before,
#nav-item-3 a:focus:before,
#nav-item-3 a:active:before {margin:-230px 0 0;}

/* :hover hack for IE8 if no a:hover styles declared */
#nav a:hover {cursor:pointer;}

For some reason IE8 refuses to reposition the image when the mouse is over the link unless a style is declared for a:hover. In most cases you will have declared a:hover styles for the basic links on your webpage, and this is enough. But it is worth being aware of this IE8 behaviour.

The addition of display:-moz-inline-box; is required to reposition the sprite in versions of Firefox prior to Firefox 3.0. They are very rare browsers but I’ve included it in case that level of legacy support is needed.

If you want image replacement in IE 6 and IE 7 the following additional styles can be served to those browsers using conditional comments.

/* Phark IR method */

#nav a {
   text-indent: -9000px;
   background: url(sprite.png) no-repeat;
}

/* repositioning the sprite */

#nav-item-1 a:hover,
#nav-item-1 a:active { background-position: 0 -46px; }

#nav-item-2 a        { background-position: 0 -92px; }
#nav-item-2 a:hover,
#nav-item-2 a:hover  { background-position: 0 -138px; }

#nav-item-3 a        { background-position: 0 -184px; }
#nav-item-3 a:hover,
#nav-item-3 a:active { background-position: 0 -230px; }

/* hack for IE6 */
#nav a:hover { margin: 0; }

The changes are fairly simple. But IE 6 applies the margins declared for a:hover:before to a:hover and so they need to be reset in the styles served to IE 6.

See the modified-NIR (using sprites) demo.




cement

Another CSS image replacement technique

A new image replacement technique was recently added to the HTML5 Boilerplate project. This post explains how it works and how it compares to alternative image replacement techniques.

[15 December 2012] This technique is no longer used in HTML5 Boilerplate. It’s been replaced by another, more reliable approach.

Here’s the CSS behind the recent update to the image replacement helper class in HTML5 Boilerplate. It has also made its way into the Compass framework.

.ir {
  font: 0/0 a;
  text-shadow: none;
  color: transparent;
}

What does each declaration do?

  • font:0/0 a – a shorthand property that zeros out the font size and line-height. The a value acts as a very short font-family (an idea taken from the BEM implementation of this method). The CSS validator complains that using 0/0 in the shorthand font property is not valid, but every browser accepts it and this appears to be an error in the validator. Using font:0px/0 a passes validation but it displayed as font:0/0 a in the code that the validator flags as valid.
  • text-shadow:none – makes sure that any inherited text shadow is removed for the text. This prevents the chance of any text shadow colors showing over the background.
  • color:transparent – needed for browsers than don’t completely crush the text to the point of being invisible. Safari 4 (extremely rare) is an example of such a browser. There may also be mobile browsers than require this declaration. IE6/7/8 don’t recognise this value for color, but fortunately IE7/8 don’t show any trace of the text. IE6 shows a faint trace.

In the HTML5 Boilerplate image replacement helper, we’ve also removed any border and background-color that may be on the element. This makes it easier to use the helper class on elements like button or with links that may included background or border properties as part of a design decision.

Benefits over text-indent methods

The new technique avoids various problems with any text-indent method, including the one proposed by Scott Kellum to avoid iPad 1 performance problems related to large negative text indents.

  • Works in IE6/7 on inline-block elements. Techniques based on text indentation are basically “broken”, as shown by this test case: http://jsfiddle.net/necolas/QZvYa/show/
  • Doesn’t result in any offscreen box being created. The text-indent methods result in a box being drawn (sometimes offscreen) for any text that have been negatively or positively indented. It can sometimes cause performance problems but the font-based method sidesteps those concerns.
  • No need to specify a text-alignment and hide the overflow since the text is crushed to take up no space.
  • No need to hide br or make all fallback HTML display:inline to get around the constraints of using a text indentation. This method is not affected by those problems.
  • Fewer styles are needed as a result of these improvements.

Drawbacks

No image replacement hack is perfect.

  • Leaves a very small trace of the text in IE6.
  • This approach means that you cannot use em units for margins on elements that make use of this image replacement code. This is because the font size is set to 0.
  • Windows-Eyes has a bug that prevents the reading of text hidden using this method. There are no problems with all other screenreaders that have been tested. Thanks to @jkiss for providing these detailed results and to @wilto for confirming this technique works for JAWS 12 in IE 6/7/8 and Firefox 4/5/6.
  • Like so many IR methods, it doesn’t work when CSS is loaded but images are not.
  • Text may not be hidden if a visitor is using a user style sheet which has explicitly set important font-size declarations for the element type on which you have applied the IR class.

It’s worth noting that the NIR image replacement technique avoids these drawbacks, but lacks support in IE6/7.

Closing comments

I’ve been using this technique without significant problems for nearly a year, ever since Jonathan Neal and I used it in a clearfix experiment. The BEM framework also makes use of it for their icon components. The core idea was even proposed back in 2003 but the browser quirks of the day may have prevented wider use.

If you come across any problems with this technique, please report them at the HTML5 Boilerplate GitHub issue tracker and include a test case when appropriate.

Translations






cement

JAMA Cardiology : Utility of 90-Day vs 30-Day Mortality Quality Metrics for Aortic Valve Replacement Outcomes

Interview with Tsuyoshi Kaneko, MD, and Sameer A Hirji, MD, authors of Utility of 90-Day Mortality vs 30-Day Mortality as a Quality Metric for Transcatheter and Surgical Aortic Valve Replacement Outcomes, and Michael J. Mack, MD, author of Ninety-Day Outcome Assessment After Transcatheter and Surgical Aortic Valve Replacement—Is the Juice Worth the Squeeze?




cement

Armed conflict and forcible displacement: individual rights under international law / edited by Elena Katselli Proukaki

Dewey Library - KZ6530.A75 2018




cement

Environmental crime: pollution and wildlife enforcement / Jared C. Bennett, Adjunct Professor of Law, S.J. Quinney College of Law, University of Utah

Dewey Library - KF3775.B393 2019




cement

Handling climate displacement / Khaled Hassine, United Nations, Geneva

Dewey Library - K3585.5.H37 2019




cement

The suspect's statement: talk and text in the criminal process / Martha Komter, Netherlands Institute for the Study of Crime and Law Enforcement (NSCR)

Dewey Library - K5401.K66 2018