Card Sim

DOM Object Cards!

by Taylor Lopez

CSS

.card {
    width: 100px;
    height: 120px;
    position: absolute;
    background-color: #DDD;
    border: solid 1px grey;
    border-radius: 5px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

JavaScript

///* START CONSOLE FUNCTIONALITY -- DON'T TOUCH */
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('B 1c(c,d,e){3.q=C c===\'s\'?1d:c;3.4=C d===\'s\'?1e:d;3.J=C e===\'s\'?10:e;3.K=1f;3.k=0.6;3.l=L;3.m=0;3.D=L;8 f=3;8 g=$("1g");8 h=$(M.N("O"));h.P({"Q-t":"R","t":"S","T":"U","o":"0","9":"0","q":3.q+"7","4":3.4+"7","V":"1h","1i":"1j","u-W":\'"1k 1l", "X 1m", "X"\',"u-Y":3.J+"7","z-Z":"1n","11-1o":"12","k":3.k,"13-14":"E 0 0 0"});g.F(h);8 i=$(M.N("O"));i.P({"t":"S","v-1p":"1q","q":"15","4":"15","Q-t":"R","k":3.k,"T":"U","9":(3.4-w-5)+"7","o":(m+5)+"7","13-14":"1r%","u-Y":"1s","u-W":"1t-1u","1v-4":"1w","1x-1y":"12","1z":"11","V":"1A","z-Z":"1B"});i.v("\\16");i.1C(B(){G(f.l){$(3).p({"9":(f.4-w-5)+"7","o":(f.m+5)+"7"});$(h).p({"9":"1D"});$(3).v("\\16")}1E{$(3).p({"9":"E","o":"E"});$(h).p({"9":-(w+f.4)+"7"});$(3).v(">1F")}f.l=!f.l});g.F(i);8 j=H.18;H.18=B(a){8 b=a===s?"":a.1G();b=b.x(/ /g,"&1H;");y(b.I("\\r\\n")!==-1)b=b.x("\\r\\n","<A />");y(b.I(\'\\n\')!==-1)b=b.x(\'\\n\',"<A />");y(b.I(\'\\r\')!==-1)b=b.x(\'\\r\',"<A />");h.F("<19 1I=\'1J\'>"+b+"</19><A...