Category Archives: Blogs

Handling “class” attribute in Beautifulsoup

Using the docs it can be difficult to spot the syntax to find an element with a class. Here is how you refine your search to the elements with my-image class. img = soup.findAll("img", { "class" : "my-image" }) Further … Continue reading

Posted in Blogs | Leave a comment

Using Modernizr with Opera Mini

We used Modernizr to provide fallbacks for unsupported features such as, svg’s, background-size, etc. On the new Canonical website. During browser testing I found Opera Mini does not support background-size (Opera specs) but Modernizr was reporting it does (Github issue). … Continue reading

Posted in Blogs | 4 Comments