Skip to content

Instantly share code, notes, and snippets.

View csasbach's full-sized avatar

C. Scott Asbach csasbach

  • HCSS
  • Fremont, Nebraska
View GitHub Profile
@csasbach
csasbach / tooltip.css
Created March 13, 2011 00:34
Create tooltips on mouseover or on click (for supporting touch interfaces).
abbr
{
border-bottom: 1px dotted #666;
cursor: help;
}
.tooltip
{
position:absolute;
background-color:#eeeefe;
@csasbach
csasbach / xBrowserOpacity.css
Created March 13, 2011 00:18
Cross browser opacity that stops inheritance.
.startOpacity{
background:rgb(255,255,255);
background:rgba(255,255,255,0.7);
-ms-filter:alpha(opacity=70);
filter:alpha(opacity=70)
}
.stopOpacity{
position:relative
}