How do we design, develop, and run websites and web applications today? A blog by François Zaninotto Using data- attributes for indexation, and a dynamic stylesheet with a CSS3 selector for search, it is straightforward to implement a client-side full-text search in CSS rather than JavaScript. Here is an example. The Searchable List The Search Code The search is very straightforward: it relies on
![Client-side full-text search in CSS](https://cdn-ak-scissors.b.st-hatena.com/image/square/02bb3fa5a78d0e15e9c6d59ac3fedcec1d9083ed/height=288;version=1;width=512/http%3A%2F%2Fwww.redotheweb.com%2Fimages%2Fsearch_code.png)