---
title: 'Video Evidence: Lion search bar in CSS/JS'
date: 2012-06-02 18:32
slug: video-evidence-lion-search-bar-in-cssjs
tags:
- css
- javascript
- marked
- video
---

<img src="/uploads/2012/06/lionsearchbar.jpg" alt="" title="lionsearchbar" width="650" height="101" class="aligncenter size-full wp-image-4108" />

I did a little hacking on [Marked](http://markedapp.com) today and thought I'd share the results. I haven't been able to get an official incremental find working in Webkit; it only wants to work on editable text and forcing the find API yields very unsatisfactory results (as you can see in the current version of Marked by hitting F, searching and then using G to jump to the first result). Out of frustration, I decided to build the damn thing in CSS and JavaScript. It worked.

[![Video](https://brettterpstra.com/share/video/LionSearch/LionSearchPoster.jpg)](https://brettterpstra.com/share/video/LionSearch/LionSearch.mp4)

If I get around to extracting and generalizing the relevant code I might publish this as a plugin of some sort. For now I'm just showing off the result. While it's not vital functionality for Marked, I'm pretty psyched to have it working. This will definitely make it into the next version!

---

Brett is a writer and developer living in Minnesota, USA. You can follow him as ttscoff. This content is supported by readers like you. [More about Brett](https://brettterpstra.com/contact.md), including social links.

Copyright © 2026 Brett Terpstra. All rights reserved.
