{"comment":{"created_at":"2011-10-17T07:15:51Z","body":"https://github.com/imakewebthings/deck.js/commit/af024461bb7794eb000c674b1a65a124acf9af77 does what it can to fix this.  Give the source on master a try, but here's the deal:\r\n\r\nThe shadow techniques I'm using are basically straight from http://nicolasgallagher.com/css-drop-shadows-without-images/demo/, which uses box-shadows on pseudoelements.  There are a number of bugs in modern browsers concerning CSS transforms and pseudoelements, so during any transitions that use them (horizontal and vertical slide) you will still see the shadow on top of the element.  The change I checked in should at least let the shadows display correctly when the slide is still.\r\n\r\nI'm going to wait for the browser vendors to catch up and fix the bugs in this case, and recommend a small workaround in the meantime:\r\n\r\n```html\r\n<div class=\"slide\">\r\n   <pre><code>...</code></pre>\r\n</div>\r\n\r\nAs long as the element with the pseudoshadows is not the root element of the transform, it works fine.","updated_at":"2011-10-17T07:15:51Z","url":"https://api.github.com/repos/imakewebthings/deck.js/issues/comments/2425677","id":2425677,"user":{"gravatar_id":"42ab3a7cc78df73ddcb06c56e4c82892","avatar_url":"https://secure.gravatar.com/avatar/42ab3a7cc78df73ddcb06c56e4c82892?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/imakewebthings","id":406639,"login":"imakewebthings"}},"action":"created","issue":{"number":41,"created_at":"2011-10-17T01:53:37Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Adding class=\"slide\" breaks the shadow on \\<pre\\> in every browser I've tried. I'm looking through the CSS to try and figure something out. No luck!","comments":4,"title":"<pre> tag and slide class don't play nice","updated_at":"2011-10-17T07:15:52Z","url":"https://api.github.com/repos/imakewebthings/deck.js/issues/41","id":1924381,"assignee":null,"milestone":null,"closed_at":null,"user":{"gravatar_id":"33f2e5442b1984b58ec213e221a0e115","avatar_url":"https://secure.gravatar.com/avatar/33f2e5442b1984b58ec213e221a0e115?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/cpayan","id":104237,"login":"cpayan"},"html_url":"https://github.com/imakewebthings/deck.js/issues/41","labels":[],"state":"open"},"legacy":{"issue_id":1924381,"comment_id":2425677}}