Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Dec 11th, 2018
61
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
var classes = [ 'grid-item', 'grid-item--height2', 'grid-item--height3' ];
$('.grid-item').each(function() {
$(this).addClass(classes[~~(Math.random()*classes.length)]);
});
Add Comment
Please,
Sign In
to add comment
Public Pastes
Image W/Gallery Expandable Image Features
HTML | 11 min ago | 0.41 KB
2024-03-28_stats.json
JSON | 17 min ago | 3.60 KB
2024-03-28_stats.json
JSON | 19 min ago | 3.59 KB
2024-03-28_stats.json
JSON | 20 min ago | 3.58 KB
count query
MySQL | 32 min ago | 1.18 KB
Untitled
Java | 33 min ago | 1.31 KB
index_php
PHP | 38 min ago | 4.27 KB
💲 G2A.com Free Gift Card Guide Mar 2024 💲
GetText | 52 min ago | 0.63 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!