Welcome To Snipplr

Everyone's Recent JavaScript Snippets Tagged css

« Prev 1 2 3
By Matt Lagrandeur
0 715 posted 8 years ago by tionazo
In this article I will show you how to use AngularJS and Laravel Blade together. People who have been using AngularJS for a while may know of this solution. However if you are just getting started or have never used Angular with a templating engine...
0 682 posted 9 years ago by CreativePunch
This handy tool takes raw CSS and finds all relative URLs for background images and injects the absolute path. After which all the background images are displayed on the page. This is useful if you need a quick way to save all background images at on...
0 535 posted 9 years ago by pussard
Changes shape back and forth from a round element to a square element.
0 448 posted 9 years ago by COBOLdinosaur
Functions to add, get y remove CSS rules
0 508 posted 10 years ago by agarcim
I am having an issue making the div stay opened when it gets animated
0 409 posted 10 years ago by skeletor1101
0 549 posted 10 years ago by paul0078
CSS Opacity Filter
0 397 posted 11 years ago by hubbske
The Javascript code to activate a CSS transition.
0 451 posted 11 years ago by tpryan
This is a JavaScript powered dropdown (flyout) menu. HTML and CSS included.
0 575 posted 11 years ago by zvineyard
Will produce output like this: <html> ... </html> <html> ... </html> Target in CSS like this: html[data-useragent*='Chrome/13.0'] .nav {background:url(img/radial_grad.png) center bottom no-repeat;} or html[data-useragent*=...
0 666 posted 11 years ago by reverend
Exibir a caixa de like customizada com css.
0 487 posted 11 years ago by shadow_d2
.zz1_logoLinkId_1 { color: #fff; background-image:url("/_layouts/Images/HLLMRKLINK/Logo.gif"); background-repeat:no-repeat; background-position:15px 10px; background-color:#67507e; display:block; width: 170px; height: 88px; overflo...
0 519 posted 11 years ago by nickaranz
look through the list items in your main nav and based on href of anchor tags this will set the top level link to have an 'active' class.
0 660 posted 11 years ago by iammikecohen
0 544 posted 11 years ago by sethetter
Removes the margin-right spacing from the item in a line of items. This works cross browser unlike the CSS last-child selector (which doesn't work in IE6 or IE7).
0 484 posted 11 years ago by redconservatory
Learn how to test for CSS property support in specific browsers using this simple Javascript technique.
1 461 posted 12 years ago by neal_grosskopf
Great for those situations where you need an element fixed on a page - so when a user scrolls it stays in the same position - *relative to its parent element*.
0 535 posted 12 years ago by Meander365
[via rtcrm] CSS Browser Selector is a very small javascript with just one line and less than 1kb which empower CSS selectors. It gives you the ability to write specific CSS code for each operating system and each browser.
2 507 posted 12 years ago by mennyj
0 508 posted 12 years ago by antij
adopted from: http://www.alistapart.com/articles/makingcompactformsmoreaccessible/
0 519 posted 13 years ago by cfleschhut
Piece of cake and easy to use
0 543 posted 13 years ago by shapeshifta
Adds a browser and operating system class to your HTML Tag.
1 612 posted 13 years ago by smoothdzion
Puts a red border around anything with an inline style. Prefix with "javascript:" and paste into the address bar to run on a page directly, or run with a load event.
1 426 posted 13 years ago by DaveChild
« Prev 1 2 3