Welcome To Snipplr


Everyone's Recent CSS Snippets



« Prev 1 2 3 4 5 ... 40
  1. FAV

    syntax for creating the gradient in CSS

    CSS gradients help you to display transitions between more than two colors. In order to create a linear gradient, you must represent at least two color stops. Color stops are the colors you desire to render smooth transitions among. In addition to th...
    CSS 160 views posted 2 months ago by devquora
  2. FAV

    Non-Transparent Inside Transparent Elements

    If using transparency on a block element it makes the text inside transparent as well. Is there a way you can prevent that from happening? Yes, you may do it by putting the text in another div and setting the opacity to 100%, but that didn't do the j...
    CSS 19 views posted 2 years ago by apphp-snippets
  3. FAV

    Align Backgroud Image with Offset in CSS

    You may align background image not only to left or top corner, but also use an offset for alignment.
    CSS 14 views posted 2 years ago by apphp-snippets
  4. FAV

    Align vertically a div inside a div

    Align a div vertically inside another div (variable height) (tl;dr)
    CSS 13 views posted 3 years ago by lapinblanc
  5. FAV

    Dazzle menu strikethrough line to underline

    Changing the Dazzle`s strikethrough line menu style to underline.
    CSS 14 views posted 3 years ago by deliciousthemes
  6. FAV

    Aligning Checkbox with Label

    Aligning a label with a checkbox can be tricky. Here is the HTML and CSS I used to achieve it.
    CSS 11 views posted 3 years ago by mattvbiggs
  7. FAV

    getting rid of default form styles

    this gets rid of all default form styles set by browser
    CSS 9 views posted 3 years ago by vaisakh
  8. FAV

    Background image full size

    background image full size centered
    CSS 12 views posted 3 years ago by envane21
  9. FAV

    CSS HORIZONTAL LIST MENU

    Learn how to build simple css horizontal list menu.
    CSS 23 views posted 3 years ago by codingforever99
  10. FAV

    Css bullet img replacement

    Change your list bullet to a custom character in CSS. Will not wrap it multiple lines
    CSS 12 views posted 4 years ago by bcounts
  11. FAV

    CSS3 validation

    CSS for form field validation
    CSS 10 views posted 4 years ago by fcommisso
  12. FAV

    Media Query for Footer CASHBOARD

    This is the CSS for the footer
    CSS 18 views posted 4 years ago by Hootz
  13. FAV

    glow button effect

    endless loop glow button effect
    CSS 8 views posted 4 years ago by envane21
  14. FAV

    glow button effect

    endless loop glow button effect
    CSS 9 views posted 4 years ago by envane21
  15. FAV

    css border bottom on Text input

    Text input Field with Bottom Border only. Border color change at focus
    CSS 17 views posted 4 years ago by 52756
  16. FAV

    Cross-Browser Gradient in CSS3

    The following code will display a cross-browser CSS-gradients. Th add the right selector you can use rgba() for transparency.
    CSS 12 views posted 4 years ago by apphp-snippets
  17. FAV

    My own font-face in CSS

    It allows you to add your own fonts on the page. To convert to different formats use this service Font2Web.
    CSS 17 views posted 4 years ago by apphp-snippets
  18. FAV

    My own @font-face in CSS

    It allows you to add your own fonts on the page. To convert to different formats use this service Font2Web.
    CSS 14 views posted 4 years ago by apphp-snippets
  19. FAV

    placeholder text

    stylize placeholder text without affecting user text
    CSS 10 views posted 4 years ago by envane21
  20. FAV

    Button Pulse Animation

    Button pulse animation (scale up and down)
    CSS 12 views posted 4 years ago by envane21
  21. FAV

    CSS: Media Query

    This is code you put in a CSS file. It queries the size of the screen using the parameters passed in. If its true, it then applies the CSS
    CSS 14 views posted 4 years ago by heathbo
  22. FAV

    Read More Script

    Nice little Face in for long text (slightly modified)
    CSS 15 views posted 4 years ago by designermedia
  23. FAV

    Transition Effect for Gradients on Hover

    A simple transition from a linear gradient to a radial gradient can be made very dramatic by including a color change transition. One of 10 effects presented.
    CSS 18 views posted 4 years ago by COBOLdinosaur
  24. FAV

    css code example

    CSS3 code from portfolio site
    CSS 16 views posted 4 years ago by johnschneider
  25. FAV

    Rotating HTML Elements With CSS

    The base rotation can be in three different planes; though as we will see later combinations can make it look like we rotate through many perceived planes. In the examples below instead of rotate we specify the plane by using rotateZ (The default we...
    CSS 12 views posted 4 years ago by COBOLdinosaur
  26. FAV

    Sample Media Query in html Header

    Unlike linked style sheets, it is necessary to enclose CSS in Headers in a "style type". This example media query is for screens under 1024 (tablets and phones) to make sure the images do not extend beyond the layout.
    CSS 16 views posted 5 years ago by jefferis
  27. FAV

    CSS Basic Banner

    This is the style for a basic banner.
    CSS 18 views posted 5 years ago by RodolfoMiranda
  28. FAV

    Include Cascading Style Sheets (CSS) in JSF

    In JSF 2.0, you can use <h:outputStylesheet> output a css file
    CSS 12 views posted 5 years ago by luhonghai
  29. FAV

    Accessibility/SEO Friendly CSS Hiding

    Removes an item from the page, without affecting page flow or causing scrollbars. Much better than display: none; or even visibility: hidden;
    CSS 11 views posted 5 years ago by luhonghai
  30. FAV

    css navigation menu bar

    useful and simple css navigation menu bar.
    CSS 19 views posted 5 years ago by codingforever99
« Prev 1 2 3 4 5 ... 40