Welcome To Snipplr


Everyone's Recent CSS Snippets



« Prev 1 2 3 4 5 ... 40
  1. 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 5 views posted 2 years ago by apphp-snippets
  2. 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 3 views posted 2 years ago by apphp-snippets
  3. FAV

    Align vertically a div inside a div

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

    Dazzle menu strikethrough line to underline

    Changing the Dazzle`s strikethrough line menu style to underline.
    CSS 4 views posted 3 years ago by deliciousthemes
  5. 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 3 views posted 3 years ago by mattvbiggs
  6. FAV

    getting rid of default form styles

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

    Background image full size

    background image full size centered
    CSS 5 views posted 3 years ago by envane21
  8. FAV

    CSS HORIZONTAL LIST MENU

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

    Css bullet img replacement

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

    CSS3 validation

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

    Media Query for Footer CASHBOARD

    This is the CSS for the footer
    CSS 5 views posted 4 years ago by Hootz
  12. FAV

    glow button effect

    endless loop glow button effect
    CSS 2 views posted 4 years ago by envane21
  13. FAV

    glow button effect

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

    css border bottom on Text input

    Text input Field with Bottom Border only. Border color change at focus
    CSS 7 views posted 4 years ago by 52756
  15. 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 5 views posted 4 years ago by apphp-snippets
  16. 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 3 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 5 views posted 4 years ago by apphp-snippets
  18. FAV

    placeholder text

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

    Button Pulse Animation

    Button pulse animation (scale up and down)
    CSS 7 views posted 4 years ago by envane21
  20. 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 6 views posted 4 years ago by heathbo
  21. FAV

    Read More Script

    Nice little Face in for long text (slightly modified)
    CSS 6 views posted 4 years ago by designermedia
  22. 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 6 views posted 4 years ago by COBOLdinosaur
  23. FAV

    css code example

    CSS3 code from portfolio site
    CSS 8 views posted 4 years ago by johnschneider
  24. 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 5 views posted 4 years ago by COBOLdinosaur
  25. 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 5 views posted 5 years ago by jefferis
  26. FAV

    CSS Basic Banner

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

    Include Cascading Style Sheets (CSS) in JSF

    In JSF 2.0, you can use <h:outputStylesheet> output a css file
    CSS 3 views posted 5 years ago by luhonghai
  28. 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 5 views posted 5 years ago by luhonghai
  29. FAV

    css navigation menu bar

    useful and simple css navigation menu bar.
    CSS 8 views posted 5 years ago by codingforever99
  30. FAV

    CSS counter styling

    two properties: * counter-reset * counter-increment This example shows a way to number chapters and sections with "Chapter 1", "1.1", "1.2", etc.
    CSS 3 views posted 5 years ago by ngocviet
« Prev 1 2 3 4 5 ... 40