State of CSS 2024 Results

The results from this year’s survey are fairly fresh off the presses. We took a little time to sit with them and jot down some things we noticed and found interesting.

State of CSS 2024 Results originally published on CSS-Tricks, which is part of the DigitalOcean family….

Tooltip Best Practices

What are tooltips, exactly? There’s two kinds and the one you use has implications on the user experience, as Zell illustrates in this explainer on best practices.

Tooltip Best Practices originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter….

Fusing science and culture through metalsmithing

As the metal artist in residence and technical instructor in MIT’s Department of Materials Science and Engineering (DMSE), Rhea Vedro operates in a synthesis of realms that broadens and enriches the student experience at MIT.

“Across MIT,” she says, “people in the arts, humanities, and sciences come together, and as soon as there’s opportunity to talk, sparks fly with all of the cross-pollination that is possible. It’s a rich place to be, and an exciting opportunity to work with our students in that way.”

In 2022, when Vedro read the job description for her current position at MIT, she says it resonated deeply with her interests and experiences. An outgrowth of MIT’s strong tradition of “mens et manus” (“mind and hand”), the position fused seamlessly with her own background.

“It was like I had written it myself. I couldn’t believe the position existed,” Vedro says.

Vedro’s relationship with metals had begun early. Even as a child growing up in Madison, Wisconsin, she collected minerals and bits of metal — and was in heaven when her godmother in New York City would take her to the Garment District, where she delightedly dug through wholesale bins of jewelry elements.

“I believe that people are called to different mediums,” she says. “Artists are often called to work with wood or clay or paper. And while I love all of those, metal has always been my home.”

After earning a master of fine arts in metals at the State University of New York at New Paltz, Vedro combined her art practice over the years with community work, as well as with an academic pursuit into metalsmithing history. “Through material culture, anthropology, and archeology, you can trace civilizations by how they related to this material.”

Vedro teaches classes 3.093 (Metalsmithing: Objects and Power), 3.095 (Introduction to Metalsmithing), and 4:A02 (DesignPlus: Exploring Design), where students learn techniques like soldering, casting, and etching, and explore metalsmithing through a cultural lens.

“In my class, we look at objects like the tool, the badge, the ring, the crown, the amulet, armor in relationship to the body and power,” Vedro says.

Vedro also supports the lab sections of class 3.094 (Materials in Human Experience), an experiential investigation into early techniques for developing cementitious materials and smelting iron, with an eye toward the future of these technologies.

Explaining her own artistic journey, which has taken her all over the world, Vedro says the “through-line” of her practice involves the idea of transformation, via the physical process of her hands-on work as a metalsmith, a fascination with materiality, and her community work to “transform lives through the art of making something.”

Such transformation is demonstrated in her ongoing commission by the City of Boston Mayor’s Office of Arts and Culture, entitled Amulet, which invited the public to community workshops, and to Vedro’s “Workbench” positioned by the waterfront in East Boston, to use metal tools of the trade. Each participant made their own mark on sheets of metal, asked to act with an intention or wish for safe passage of a loved one or for one’s own journey. Vedro will fashion the sheets, bearing the “wishmarks” of so many community members into several 16-to-17-foot birds, positioning them to stand guard at Boston City Hall Plaza.

At MIT, students come to the DMSE’s Merton C. Flemings Materials Processing Laboratory to work on creative projects in fine metals and steel, and also to craft parts for highly technical research in a wide range of fields, from mechanical engineering to aeronautics and astronautics.

“Students will come proposing to make a custom battery housing, a coil for a project going into outer space, a foundry experiment, or to etch and polish one crystal of aluminum,” Vedro says. “These are very specific requests that are not artistic in their origin and rely upon the hands-on metalsmithing of my team, including Mike Tarkanian [DMSE senior lecturer], James Hunter, [DMSE lecturer], and Shaymus Hudson [DSME technical instructor].”

Whatever the students’ inspiration, Vedro says she is struck by how motivated they are to do their best work — even despite the setbacks and time required that are part of developing a new skill.

“Everyone here is intensely driven,” she says, adding that many students, perhaps because of their familiarity with the scientific process, “are really good at taking quote-unquote failures as part of their learning process.”

Throughout their exploration in the lab, otherwise known as the Forge/Foundry, many students discover the power of working with their hands.

“There is a zone you get into, where you are becoming one with what you’re doing and lose track of time, and you are only paying attention to how material is behaving under your hand,” Vedro says.

Sometimes the zone produces not only a fine piece of metalwork, but an inspiration about something unrelated, such as a new approach to a research project.

“It frees up the mind, just like when you’re sleeping and you process things you studied the night before,” Vedro says. “You can be working with your hands on something, and many other ideas come together.”

Asked whether 15 years ago she would have thought she’d be working at MIT, Vedro says, “Oh, no. My path has been such an incredible braid of different experiences. It’s a reminder to stay true to your unique path, because you can be like me — in a place I would never have anticipated, where I feel energized every day to come in and see what will cross my path.”

Interactive mouthpiece opens new opportunities for health data, assistive technology, and hands-free interactions

When you think about hands-free devices, you might picture Alexa and other voice-activated in-home assistants, Bluetooth earpieces, or asking Siri to make a phone call in your car. You might not imagine using your mouth to communicate with other devices like a computer or a phone remotely. 

Thinking outside the box, MIT Computer Science and Artificial Intelligence Laboratory (CSAIL) and Aarhus University researchers have now engineered “MouthIO,” a dental brace that can be fabricated with sensors and feedback components to capture in-mouth interactions and data. This interactive wearable could eventually assist dentists and other doctors with collecting health data and help motor-impaired individuals interact with a phone, computer, or fitness tracker using their mouths.

Resembling an electronic retainer, MouthIO is a see-through brace that fits the specifications of your upper or lower set of teeth from a scan. The researchers created a plugin for the modeling software Blender to help users tailor the device to fit a dental scan, where you can then 3D print your design in dental resin. This computer-aided design tool allows users to digitally customize a panel (called PCB housing) on the side to integrate electronic components like batteries, sensors (including detectors for temperature and acceleration, as well as tongue-touch sensors), and actuators (like vibration motors and LEDs for feedback). You can also place small electronics outside of the PCB housing on individual teeth.

Video thumbnail

Play video

MouthIO: Fabricating Customizable Oral User Interfaces with Integrated Sensing and Actuation
Video: MIT CSAIL

The active mouth

“The mouth is a really interesting place for an interactive wearable and can open up many opportunities, but has remained largely unexplored due to its complexity,” says senior author Michael Wessely, a former CSAIL postdoc and senior author on a paper about MouthIO who is now an assistant professor at Aarhus University. “This compact, humid environment has elaborate geometries, making it hard to build a wearable interface to place inside. With MouthIO, though, we’ve developed a new kind of device that’s comfortable, safe, and almost invisible to others. Dentists and other doctors are eager about MouthIO for its potential to provide new health insights, tracking things like teeth grinding and potentially bacteria in your saliva.”

The excitement for MouthIO’s potential in health monitoring stems from initial experiments. The team found that their device could track bruxism (the habit of grinding teeth) by embedding an accelerometer within the brace to track jaw movements. When attached to the lower set of teeth, MouthIO detected when users grind and bite, with the data charted to show how often users did each.

Wessely and his colleagues’ customizable brace could one day help users with motor impairments, too. The team connected small touchpads to MouthIO, helping detect when a user’s tongue taps their teeth. These interactions could be sent via Bluetooth to scroll across a webpage, for example, allowing the tongue to act as a “third hand” to open up a new avenue for hands-free interaction.

“MouthIO is a great example how miniature electronics now allow us to integrate sensing into a broad range of everyday interactions,” says study co-author Stefanie Mueller, the TIBCO Career Development Associate Professor in the MIT departments of Electrical Engineering and Computer Science and Mechanical Engineering and leader of the HCI Engineering Group at CSAIL. “I’m especially excited about the potential to help improve accessibility and track potential health issues among users.”

Molding and making MouthIO

To get a 3D model of your teeth, you can first create a physical impression and fill it with plaster. You can then scan your mold with a mobile app like Polycam and upload that to Blender. Using the researchers’ plugin within this program, you can clean up your dental scan to outline a precise brace design. Finally, you 3D print your digital creation in clear dental resin, where the electronic components can then be soldered on. Users can create a standard brace that covers their teeth, or opt for an “open-bite” design within their Blender plugin. The latter fits more like open-finger gloves, exposing the tips of your teeth, which helps users avoid lisping and talk naturally.

This “do it yourself” method costs roughly $15 to produce and takes two hours to be 3D-printed. MouthIO can also be fabricated with a more expensive, professional-level teeth scanner similar to what dentists and orthodontists use, which is faster and less labor-intensive.

Compared to its closed counterpart, which fully covers your teeth, the researchers view the open-bite design as a more comfortable option. The team preferred to use it for beverage monitoring experiments, where they fabricated a brace capable of alerting users when a drink was too hot. This iteration of MouthIO had a temperature sensor and a monitor embedded within the PCB housing that vibrated when a drink exceeded 65 degrees Celsius (or 149 degrees Fahrenheit). This could help individuals with mouth numbness better understand what they’re consuming.

In a user study, participants also preferred the open-bite version of MouthIO. “We found that our device could be suitable for everyday use in the future,” says study lead author and Aarhus University PhD student Yijing Jiang. “Since the tongue can touch the front teeth in our open-bite design, users don’t have a lisp. This made users feel more comfortable wearing the device during extended periods with breaks, similar to how people use retainers.”

The team’s initial findings indicate that MouthIO is a cost-effective, accessible, and customizable interface, and the team is working on a more long-term study to evaluate its viability further. They’re looking to improve its design, including experimenting with more flexible materials, and placing it in other parts of the mouth, like the cheek and the palate. Among these ideas, the researchers have already prototyped two new designs for MouthIO: a single-sided brace for even higher comfort when wearing MouthIO while also being fully invisible to others, and another fully capable of wireless charging and communication.

Jiang, Mueller, and Wessely’s co-authors include PhD student Julia Kleinau, master’s student Till Max Eckroth, and associate professor Eve Hoggan, all of Aarhus University. Their work was supported by a Novo Nordisk Foundation grant and was presented at ACM’s Symposium on User Interface Software and Technology.

Left Half and Right Half Layout – Many Different Ways

A whole bunch of years ago, we posted on this idea here on CSS-Tricks. We figured it was time to update that and do the subject justice.
Imagine a scenario where you need to split a layout in half. Content …

Left Half and Right Half Layout –…

Come to the light-dark() Side

You’d be forgiven for thinking coding up both a dark and a light mode at once is a lot of work. You have to remember @media queries based on prefers-color-scheme as well as extra complications that arise when letting visitors …

Come to the light-dark() Side originally…

Clarifying the Relationship Between Popovers and Dialogs

The difference between Popovers (i.e., the popover attribute) and Dialogs (i.e., both the <dialog element and the dialog accessible role) is incredibly confusing — so much that many articles (like this, this, and this) have tried to …

Clarifying the Relationship Between Popovers and Dialogs originally published…

Seeking our future in the deep past

Used to be, societies would recycle building materials. In Rome, St. Peter’s Basilica was made from the stones of the Colosseum. The Inca reused stones from one project to the next. Today we rarely do that.

As MIT associate professor of architecture Brandon Clifford observes, we barely even admit how often we tear down buildings. 

“The architect today designs a building with the false presumption that it’s going to last forever,” Clifford says. “Unfortunately the reality is, some buildings last the length of our mortgages, 30 years. Then they go to landfills.”

He adds: “If an archaeologist looks back at our time, we will be called the mound builders because we’re making enormous landfills all around the world. Those are the things that are going to last. Civilizations will ask, “What were people thinking in the early 2000s, when they were just building these colossal mounds?”

Looking back in time imaginatively is Clifford’s job: He studies ancient structures and building practices, to generate new ones. Recently Clifford’s studio, Matter Design, took discarded concrete chunks — from a dairy barn floor, a Motel 6 wall, and a roadbed — and used digital design and modern cutting tools to assemble them into a new wall. If the ancients could redeploy materials, why can’t we?

“Humans have been reassembling random bits of material from previous incarnations of architecture for millennia, but we just don’t understand the rules today,” says Clifford, who has also designed buildings, written a manifesto about learning from the past, and had his students build a megalithic stone and move it around Killian Court.

Here, we’ve assembled more bits of material about Clifford himself, fitted them together, and built this profile article to last — for a while, anyway.

Leverage the talent

Virtually all architectural work contains a critique of other building forms. Clifford is upfront about this: Construction today is unsustainable, inefficient, and costly.

“The current mode of designing and subsequent construction is not working,” Clifford wrote in 2017.

As a counterpoint, the architectural designs Clifford has produced — like competition entries for the Bamiyan Cultural Center in Afghanistan and the Guggenheim Helsinki — are sensitive to the supply of materials. An award-winning small project of Clifford’s, the Five Fields Play Structure in suburban Massachusetts, cleverly maximizes its square footage.

But Clifford’s career is not really about one style of architecture. It’s about one style of architectural thinking. Today we seem surprised at the architecture of the ancients, but to Clifford, that just means we haven’t thought creatively enough about how they solved problems. Ultimately, Clifford wants to leverage the talent around him to rework our building habits.

“In our lab we find work to be successful if it challenges the way you think about the broader discipline,” says Clifford, who was granted tenure at MIT this year.

Space odyssey

Clifford’s father was an astronaut. Rich Clifford served in the military, joined NASA, and flew on three space shuttle missions in the 1990s.

“I grew up in Houston, surrounded by the space industry,” Clifford says. He lived down the street from astronaut John Young — one of the 12 people to walk on the moon and co-pilot of the first space shuttle flight, in 1981.

Rich Clifford was diagnosed with Parkinson’s disease before his last shuttle flight. He died in late 2021. Brandon Clifford has been reflecting about his father’s trajectory, and its influence on his own.

“I work with prehistoric, gravity-laden, human contributions to Earth, while my dad was exploring space,” he says. “But we’re both exploring things, in very different ways.”

In some ways, NASA reminds Clifford of his current employer.

“NASA is such an interesting cross-pollination of ideas,” Clifford observes. “It’s balanced between the military and public-facing images of space. The space industry has always been generating challenging ideas about humanity, while also being very scientifically rigorous. I see MIT as being on equal footing with NASA in that respect.”

Stones and civilization

Clifford graduated from Georgia Tech in 2006, studying architecture with a focus on digital fabrication. He went to graduate school at Princeton University while the housing market crashed. “Every single one of my classmates was losing their job in architecture,” Clifford recalls.

In graduate school, he was studying digital fabrication again. Then one day, MIT architectural historian Mark Jarzombek arrived in Princeton for a lecture.

“He said you can tell a civilization is doing well, if it is carving stone precisely,” Clifford says. “That moment shifted my career, and since then I have been studying stone architecture.” By the way, we don’t do much stone carving today, either.

Clifford started thinking historically and globally. One common narrative is that architecture emerged out of making shelters. Yet, from Egypt to Easter Island, many societies have often advanced their building techniques for other purposes.

“When you look at prehistory, the pyramids, Stonehenge, the moai of Easter Island, the polygonal masonry structure of the Inca, none of them are shelter,” Clifford says.

Digging into these structures reveals how societies maximized what they had. When the Inca recycled stone blocks into walls, they would only cut the top side, to fit each block into the new structure. The Greeks would cut the bottom side. But both were optimizing their resources and labor. Ancient practices contain useful ideas.

What you don’t know can help you

Still, we don’t know everything about ancient buildings. To Clifford, this is a feature, not a bug.

After all, if there are mysteries about the architecture of the past, there is room for us to think creatively about it. Given 12 hypotheses about how Stonehenge was constructed, 11 may be historically inaccurate — but several of those might contain interesting ideas.

“My work is often misunderstood as experimental archaeology,” Clifford says. “But as an architect I’m interested in the future. I’m not trying to prove anything about the past. I’m just trying to extract bits of knowledge or find alternative ways of thinking about past construction that can change the way we think about the future. If any theory changes the way we do something, it’s still useful.”

Make a megalith move

When outsiders reached Easter Island in 1722, an obvious mystery was how the island’s gigantic statues were transported around. The islanders claimed the moai had “walked” to their locations, which sounded like a fanciful myth.

But in 2011, archaeologists Terry Hunt and Carl Lipo proposed that the Easter Island statues had been transported upright, with people using ropes to sway the statues side to side while pivoting them forward. Thus the statues could have “walked,” although not everyone immediately accepted the hypothesis.

Clifford, who landed at MIT in 2012, co-taught a class with Jarzombek in 2015 that featured a group project: The students built a 16-foot megalith out of glass fiber reinforced concrete, then figured out how to transport it around Killian Court with ropes. They named it the McKnelly Megalith. The course had a teaching assistant, Carrie Lee McKnelly, whose parents had just tragically passed away, so the name was in their honor.

A key to the McKnelly Megalith’s mobility was its curving shape. Because the center of gravity is not in the middle of the structure’s form, it is easier to pivot and swivel around. The Easter Island moai use this design principle too. The MIT class was not the first test of moving a megalith with rope — Hunt and Lipo did that in Hawaii — but it did reinforce the method’s viability.

“That’s the kind of thing that’s celebrated in MIT culture, honestly,” Clifford says. “Let’s make a big megalith move.”

And float

In 2016, Clifford and his students doubled down on megaliths, with the Buoy Stone, a huge, pear-shaped, fiber-reinforced piece of concrete they moored in the Charles River outside of Killian Court for a couple of months.

The Buoy Stone was built for MIT’s “Moving Day,” a celebration of its 100th anniversary of relocating from Boston across the rover to Cambridge. The stone was an exploration of transporting megaliths on water — as many of Stonehenge’s pieces were. In this case, the Buoy Stone was towed on water horizontally, and then when stationary, it partially filled with water and tipped upright. The object also caused a lot of local head-scratching.

Clifford again: “We had no title saying what the Buoy Stone was. With megaliths, that’s part of the mystery: Why is that thing here? A giant stone miles from the nearest quarry is an intriguing artifact. People in Cambridge still tell me, ‘I run along the Charles River and I used to wonder what that weird thing was.’ It was a fun project because it was a celebration of MIT.”

The Buoy Stone didn’t address a historical debate as directly as the McKnelly Megalith had, but it may have contemporary applications, perhaps in barrier-type structures, and was an exercise in creative design.

“At MIT, the students are very open and accepting of challenging ideas,” Clifford says. “They want to think differently.”

Colossus and the cosmos

Clifford is hardly the only MIT faculty member who studies ancient building techniques; others include Jarzombek, John Ochsendorf, Admir Masic, and more. But he has settled into his own niche in the area, and is currently working on a new book project about his explorations, tentatively titled “Colossus and the Cosmos.” He has given a TED Talk and won the American Academy in Rome Prize, among other honors.

This will be Clifford’s second book. His first was his quirky 2017 volume, “The Cannibal’s Cookbook,” with the “Cannibal” term alluding to recycling building materials, while the “Cookbook” part refers to the idea that there are recipes for doing this. 

And while there already exist advocates for “circular construction,” the greater reuse of building materials, Clifford thinks the concept needs greater circulation.

“The way architecture is set up now doesn’t allow for that,” Clifford says. “We don’t have a way of reincorporating materials. Much of the reception to the first book has been from students of architecture, exploring design. I’m hoping the next layer of impact will be with the building industry, finding ways of automating this process.”

Creative company

Tenure can free up professors to pursue independent-minded projects, although Clifford, for one, has never needed much encouragement in that regard. One nuance of Clifford’s career, though, is that while he has pursued his own path, it has involved a lot of collaboration.

“I have the best colleagues I could imagine, and I think of my MIT graduate students as colleagues as well,” Clifford says.

He adds: “I’ve never done a project on my own. I had this idea, before I started studying architecture, that an architect just sat at a drafting table and conceived of buildings, the solitary genius thing. But every project I’ve done is a collaboration with someone that knows something different. I realize there’s so much I don’t know.”

There’s that notion again, that the gaps in our knowledge are an opportunity. We will never know it all about old buildings, but even so, as Clifford notes: “The question is, ‘How much do you need to know about something to change the way you think about the future?’ That’s where the value is.”

Unleash the Power of Scroll-Driven Animations

I’m utterly behind in learning about scroll-driven animations apart from the “reading progress bar” experiments all over CodePen. Well, I’m not exactly “green” on the topic; we’ve published a handful of articles on it including this neat-o one by Lee …

Unleash the Power of Scroll-Driven Animations…

Mastering theme.json: You might not need CSS

I totally get the goal here: make CSS more modular and scalable in WordPress. Put all your global WordPress theme styles in a single file, including variations. JSON offers a nicely structured syntax that’s easily consumable by JavaScript, thereby allowing …

Mastering theme.json: You might not need…