Format:
Recent snippets matching tags of css
<!DOCTYPE html> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <title></title> <style> .bigbutton { background: #1e5799; /* Old browsers */ color: White;
68 Views
no comments
body { background-color: #000000; } .MainTitle /* Class */ { font-family: Arial, Helvetica, sans-serif; font-size: xx-large; color: #0000CC;
85 Views
no comments
This is just a snippet to remember syntax for different CSS selector types.
CSS: Selectors
Type selectors
a {}
applies to all <a> elements
Class selectors
111 Views
no comments
<html> <head> <title></title> <style> .ULCtrlList { list-style-type: none; display: inline; }
154 Views
no comments
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Html Template</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <style type="text/css"> .primary { background-color: green; } .secondary { background-color: blue; }
783 Views
no comments
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head id="ctl00_Head1" profile="http://www.w3.org/2005/11/profile"> <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.6.0/build/reset/reset-min.css" /> <link rel="shortcut icon" href="/favicon.ico" /> <link href="/css/style.css" rel="stylesheet" media="screen,projection" type="text/css" /> <title></title> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta name="description" content="" />
304 Views
no comments
var hex = ['FF', 'CC', '99', '66', '33', '00']; function colorPanel(){ for (var i = 0; i < 6; i++) { for (var j = 0; j < 6; j++) { for (var k = 0; k < 6; k++) { var color = hex[j] + hex[k] + hex[i]; document.write('#' + color + '<br />'); } }
307 Views
no comments
<var columnClass="new [] {'span-11 column', 'span-11 column last' }" /> <div each="var item in o.Items" columnClass="${lastClass[itemIndex%2]}"> </div>
262 Views
no comments
Original HTML+BluePrintCSS <div id="header" class="container"> <div id="title" class="span-10"> <h1>${H(ApplicationName)}</h1> </div> <div id="logindisplay" class="prepend-8 span-6 last"> <logOnUserControl /> </div> <div id="menucontainer" class="span-24 last">
293 Views
no comments
#header { #title { .span-10, .column; } #logindisplay { .prepend-8, .span-6, .column, .last; text-align: right; }
358 Views
4 comments
.smallprogress,.smallprogressright { width: 16px; height: 16px; background-image: url(images/loading_small.gif); background-repeat: no-repeat; display: inline-block; xdisplay: none; } .smallprogressright { float: right }
341 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
