Thursday, 12 January 2023

Code Color and Name HTML

 

#000000Black (W3C)
#0C090ANight
#34282CCharcoal
#3B3131Oil
#3A3B3CDark Gray
#454545Light Black
#413839Black Cat
#3D3C3AIridium
#463E3FBlack Eel
#4C4646Black Cow
#504A4BGray Wolf
#565051Vampire Gray
#52595DIron Gray
#5C5858Gray Dolphin
#625D5DCarbon Gray
#666362Ash Gray
#696969DimGray or DimGrey (W3C)
#686A6CNardo Gray
#6D6968Cloudy Gray
#726E6DSmokey Gray
#736F6EAlien Gray
#757575Sonic Silver
#797979Platinum Gray
#837E7CGranite
#808080Gray or Grey (W3C)
#848482Battleship Gray
#8D918DGunmetal Gray
#A9A9A9DarkGray or DarkGrey (W3C)
#B6B6B4Gray Cloud
#C0C0C0Silver (W3C)
#C9C0BBPale Silver
#D1D0CEGray Goose
#CECECEPlatinum Silver
#D3D3D3LightGray or LightGrey (W3C)
#DADBDDSilver White
#DCDCDCGainsboro (W3C)
#E5E4E2Platinum
#BCC6CCMetallic Silver
#98AFC7Blue Gray
#838996Roman Silver
#778899LightSlateGray or LightSlateGrey (W3C)
#708090SlateGray or SlateGrey (W3C)
#6D7B8DRat Gray
#657383Slate Granite Gray
#616D7EJet Gray
#646D7EMist Blue
#566D7EMarble Blue
#737CA1Slate Blue Grey
#728FCELight Purple Blue
#4863A0Azure Blue
#2B547EBlue Jay
#36454FCharcoal Blue
#29465BDark Blue Grey
#2B3856Dark Slate
#123456Deep-Sea Blue
#151B54Night Blue
#191970MidnightBlue (W3C)
#000080Navy (W3C)
#151B8DDenim Dark Blue
#00008BDarkBlue (W3C)
#15317ELapis Blue
#0000A0New Midnight Blue
#0000A5Earth Blue
#0020C2Cobalt Blue
#0000CDMediumBlue (W3C)
#0041C2Blueberry Blue
#2916F5Canary Blue
#0000FFBlue (W3C)
#0909FFBright Blue
#1F45FCBlue Orchid
#2554C7Sapphire Blue
#1569C7Blue Eyes
#1974D2Bright Navy Blue
#2B60DEBalloon Blue
#4169E1RoyalBlue (W3C)
#2B65ECOcean Blue
#306EFFBlue Ribbon
#157DECBlue Dress
#1589FFNeon Blue
#1E90FFDodgerBlue (W3C)
#368BC1Glacial Blue Ice
#4682B4SteelBlue (W3C)
#488AC7Silk Blue
#357EC7Windows Blue
#3090C7Blue Ivy
#659EC7Blue Koi
#87AFC7Columbia Blue
#95B9C7Baby Blue
#6495EDCornflowerBlue (W3C)
#6698FFSky Blue Dress
#56A5ECIceberg
#38ACECButterfly Blue
#00BFFFDeepSkyBlue (W3C)
#3BB9FFMidday Blue
#5CB3FFCrystal Blue
#79BAECDenim Blue
#82CAFFDay Sky Blue
#87CEFALightSkyBlue (W3C)
#87CEEBSkyBlue (W3C)
#A0CFECJeans Blue
#B7CEECBlue Angel
#B4CFECPastel Blue
#ADDFFFLight Day Blue
#C2DFFFSea Blue
#C6DEFFHeavenly Blue
#BDEDFFRobin Egg Blue
#B0E0E6PowderBlue (W3C)
#AFDCECCoral Blue
#ADD8E6LightBlue (W3C)
#B0CFDELightSteelBlue (W3C)
#C9DFECGulf Blue
#D5D6EAPastel Light Blue
#E3E4FALavender Blue
#DBE9FAWhite Blue
#E6E6FALavender (W3C)
#EBF4FAWater
#F0F8FFAliceBlue (W3C)
#F8F8FFGhostWhite (W3C)
#F0FFFFAzure (W3C)
#E0FFFFLightCyan (W3C)
#CCFFFFLight Slate
#9AFEFFElectric Blue
#7DFDFETron Blue
#57FEFFBlue Zircon
#00FFFFAqua or Cyan (W3C)
#0AFFFFBright Cyan
#50EBECCeleste
#4EE2ECBlue Diamond
#16E2F5Bright Turquoise
#8EEBECBlue Lagoon
#AFEEEEPaleTurquoise (W3C)
#CFECECPale Blue Lily
#81D8D0Tiffany Blue
#77BFC7Blue Hosta
#92C7C7Cyan Opaque
#78C7C7Northern Lights Blue
#7BCCB5Blue Green
#66CDAAMediumAquaMarine (W3C)
#AAF0D1Magic Mint
#7FFFD4Aquamarine (W3C)
#93FFE8Light Aquamarine
#40E0D0Turquoise (W3C)
#48D1CCMediumTurquoise (W3C)
#48CCCDDeep Turquoise
#46C7C7Jellyfish
#43C6DBBlue Turquoise
#00CED1DarkTurquoise (W3C)
#43BFC7Macaw Blue Green
#20B2AALightSeaGreen (W3C)
#3EA99FSeafoam Green
#5F9EA0CadetBlue (W3C)
#3B9C9CDeep-Sea
#008B8BDarkCyan (W3C)
#00827FTeal Green
#008080Teal (W3C)
#045F5FMedium Teal
#033E3EDeep Teal
#25383CDarkSlateGray or DarkSlateGrey (W3C)
#2C3539Gunmetal
#3C565BBlue Moss Green
#4C787EBeetle Green
#5E7D7EGrayish Turquoise
#307D7EGreenish Blue
#348781Aquamarine Stone
#438D80Sea Turtle Green
#4E8975Dull-Sea Green
#306754Deep-Sea Green
#2E8B57SeaGreen (W3C)
#31906EDark Mint
#00A36CJade
#34A56FEarth Green
#50C878Emerald
#3EB489Mint
#3CB371MediumSeaGreen (W3C)
#7C9D8EMetallic Green
#78866BCamouflage Green
#848B79Sage Green
#617C58Hazel Green
#728C00Venom Green
#6B8E23OliveDrab (W3C)
#808000Olive (W3C)
#556B2FDarkOliveGreen (W3C)
#4E5B31Military Green
#4B5320Army Green
#667C26Fern Green
#4E9258Fall Forest Green
#387C44Pine Green
#347235Medium Forest Green
#347C2CJungle Green
#228B22ForestGreen (W3C)
#008000Green (W3C)
#006400DarkGreen (W3C)
#046307Deep Emerald Green
#355E3BHunter Green
#254117Dark Forest Green
#437C17Seaweed Green
#347C17Shamrock Green
#6AA121Green Onion
#4AA02CGreen Pepper
#41A317Dark Lime Green
#12AD2BParrot Green
#3EA055Clover Green
#73A16CDinosaur Green
#6CBB3CGreen Snake
#6CC417Alien Green
#4CC417Green Apple
#32CD32LimeGreen (W3C)
#52D017Pea Green
#4CC552Kelly Green
#54C571Zombie Green
#99C68EFrog Green
#8FBC8FDarkSeaGreen (W3C)
#89C35CGreen Peas
#85BB65Dollar Bill Green
#9CB071Iguana Green
#B0BF1AAcid Green
#B2C248Avocado Green
#9DC209Pistachio Green
#A1C935Salad Green
#9ACD32YellowGreen (W3C)
#77DD77Pastel Green
#7FE817Hummingbird Green
#59E817Nebula Green
#57E964Stoplight Go Green
#16F529Neon Green
#5EFB6EJade Green
#36F57FLime Mint Green
#00FF7FSpringGreen (W3C)
#00FA9AMediumSpringGreen (W3C)
#5FFB17Emerald Green
#00FF00Lime (W3C)
#7CFC00LawnGreen (W3C)
#66FF00Bright Green
#7FFF00Chartreuse (W3C)
#87F717Yellow Lawn Green
#98F516Aloe Vera Green
#B1FB17Dull Green Yellow
#ADFF2FGreenYellow (W3C)
#BDF516Chameleon Green
#DAEE01Neon Yellow Green
#E2F516Yellow Green Grosbeak
#CCFB5DTea Green
#BCE954Slime Green
#64E986Algae Green
#90EE90LightGreen (W3C)
#6AFB92Dragon Green
#98FB98PaleGreen (W3C)
#98FF98Mint Green
#B5EAAAGreen Thumb
#E3F9A6Organic Brown
#C3FDB8Light Jade
#DBF9DBLight Rose Green
#E8F1D4Chrome White
#F0FFF0HoneyDew (W3C)
#F5FFFAMintCream (W3C)
#FFFACDLemonChiffon (W3C)
#FFFFC2Parchment
#FFFFCCCream
#FFFDD0Cream White
#FAFAD2LightGoldenRodYellow (W3C)
#FFFFE0LightYellow (W3C)
#F5F5DCBeige (W3C)
#FFF8DCCornsilk (W3C)
#FBF6D9Blonde
#F7E7CEChampagne
#FAEBD7AntiqueWhite (W3C)
#FFEFD5PapayaWhip (W3C)
#FFEBCDBlanchedAlmond (W3C)
#FFE4C4Bisque (W3C)
#F5DEB3Wheat (W3C)
#FFE4B5Moccasin (W3C)
#FFE5B4Peach
#FED8B1Light Orange
#FFDAB9PeachPuff (W3C)
#FFDEADNavajoWhite (W3C)
#FBE7A1Golden Blonde
#F3E3C3Golden Silk
#F0E2B6Dark Blonde
#F1E5ACLight Gold
#F3E5ABVanilla
#ECE5B6Tan Brown
#E8E4C9Dirty White
#EEE8AAPaleGoldenRod (W3C)
#F0E68CKhaki (W3C)
#EDDA74Cardboard Brown
#EDE275Harvest Gold
#FFE87CSun Yellow
#FFF380Corn Yellow
#FAF884Pastel Yellow
#FFFF33Neon Yellow
#FFFF00Yellow (W3C)
#FFEF00Canary Yellow
#F5E216Banana Yellow
#FFDB58Mustard Yellow
#FFDF00Golden Yellow
#F9DB24Bold Yellow
#FFD801Rubber Ducky Yellow
#FFD700Gold (W3C)
#FDD017Bright Gold
#FFCE44Chrome Gold
#EAC117Golden Brown
#F6BE00Deep Yellow
#F2BB66Macaroni and Cheese
#FBB917Saffron
#FDBD01Neon Gold
#FBB117Beer
#FFAE42Yellow Orange or Orange Yellow
#FFA62FCantaloupe
#FFA500Orange (W3C)
#EE9A4DBrown Sand
#F4A460SandyBrown (W3C)
#E2A76FBrown Sugar
#C19A6BCamel Brown
#E6BF83Deer Brown
#DEB887BurlyWood (W3C)
#D2B48CTan (W3C)
#C8AD7FLight French Beige
#C2B280Sand
#BCB88ASage
#C8B560Fall Leaf Brown
#C9BE62Ginger Brown
#C9AE5DBronze Gold
#BDB76BDarkKhaki (W3C)
#BAB86COlive Green
#B5A642Brass
#C7A317Cookie Brown
#D4AF37Metallic Gold
#E9AB17Bee Yellow
#E8A317School Bus Yellow
#DAA520GoldenRod (W3C)
#D4A017Orange Gold
#C68E17Caramel
#B8860BDarkGoldenRod (W3C)
#C58917Cinnamon
#CD853FPeru (W3C)
#CD7F32Bronze
#C88141Tiger Orange
#B87333Copper
#AA6C39Dark Gold
#AB784EDark Almond
#966F33Wood
#806517Oak Brown
#665D1EAntique Bronze
#8E7618Hazel
#8B8000Dark Yellow
#827839Dark Moccasin
#8A865DKhaki Green
#93917CMillenium Jade
#9F8C76Dark Beige
#AF9B60Bullet Shell
#827B60Army Brown
#786D5FSandstone
#483C32Taupe
#493D26Mocha
#513B1CMilk Chocolate
#3D3635Gray Brown
#3B2F2FDark Coffee
#43302EOld Burgundy
#49413FWestern Charcoal
#5C3317Bakers Brown
#654321Dark Brown
#704214Sepia Brown
#804A00Dark Bronze
#6F4E37Coffee
#835C3BBrown Bear
#7F5217Red Dirt
#7F462CSepia
#A0522DSienna (W3C)
#8B4513SaddleBrown (W3C)
#8A4117Dark Sienna
#7E3817Sangria
#7E3517Blood Red
#954535Chestnut
#C34A2CChestnut Red
#C04000Mahogany
#EB5406Red Gold
#C35817Red Fox
#B86500Dark Bisque
#B5651DLight Brown
#B76734Petra Gold
#C36241Rust
#CB6D51Copper Red
#C47451Orange Salmon
#D2691EChocolate (W3C)
#CC6600Sedona
#E56717Papaya Orange
#E66C2CHalloween Orange
#FF6700Neon Orange
#FF5F1FBright Orange
#F87217Pumpkin Orange
#F88017Carrot Orange
#FF8C00DarkOrange (W3C)
#F87431Construction Cone Orange
#FF7722Indian Saffron
#E67451Sunrise Orange
#FF8040Mango Orange
#FF7F50Coral (W3C)
#F88158Basket Ball Orange
#F9966BLight Salmon Rose
#FFA07ALightSalmon (W3C)
#E9967ADarkSalmon (W3C)
#E78A61Tangerine
#DA8A67Light Copper
#FF8674Salmon Pink
#FA8072Salmon (W3C)
#F98B88Peach Pink
#F08080LightCoral (W3C)
#F67280Pastel Red
#E77471Pink Coral
#F75D59Bean Red
#E55451Valentine Red
#CD5C5CIndianRed (W3C)
#FF6347Tomato (W3C)
#E55B3CShocking Orange
#FF4500OrangeRed (W3C)
#FF0000Red (W3C)
#FD1C03Neon Red
#FF2400Scarlet
#F62217Ruby Red
#F70D1AFerrari Red
#F62817Fire Engine Red
#E42217Lava Red
#E41B17Love Red
#DC381FGrapefruit
#C24641Cherry Red
#C11B17Chilli Pepper
#B22222FireBrick (W3C)
#B21807Tomato Sauce Red
#A52A2ABrown (W3C)
#A70D2ACarbon Red
#9F000FCranberry
#931314Saffron Red
#990000Crimson Red
#990012Red Wine or Wine Red
#8B0000DarkRed (W3C)
#800000Maroon (W3C)
#8C001ABurgundy
#7E191BVermilion
#800517Deep Red
#660000Red Blood
#551606Blood Night
#560319Dark Scarlet
#3D0C02Black Bean
#3F000FChocolate Brown
#2B1B17Midnight
#550A35Purple Lily
#810541Purple Maroon
#7D0541Plum Pie
#7D0552Plum Velvet
#872657Dark Raspberry
#7E354DVelvet Maroon
#7F4E52Rosy-Finch
#7F525DDull Purple
#7F5A58Puce
#997070Rose Dust
#B1907FPastel Brown
#B38481Rosy Pink
#BC8F8FRosyBrown (W3C)
#C5908EKhaki Rose
#C48793Lipstick Pink
#C48189Pink Brown
#E799A3Pink Daisy
#D58A94Dusty Pink
#E8ADAARose
#C4AEADSilver Pink
#E6C7C2Gold Pink
#ECC5C0Rose Gold
#FFCBA4Deep Peach
#F8B88BPastel Orange
#EDC9AFDesert Sand
#FFDDCAUnbleached Silk
#FDD7E4Pig Pink
#FFE6E8Blush
#FFE4E1MistyRose (W3C)
#FFDFDDPink Bubble Gum
#FFCCCBLight Red
#FBCFCDLight Rose
#FBBBB9Deep Rose
#FFC0CBPink (W3C)
#FFB6C1LightPink (W3C)
#FAAFBEDonut Pink
#FAAFBABaby Pink
#F9A7B0Flamingo Pink
#FEA3AAPastel Pink
#E7A1B0Rose Pink or Pink Rose
#E38AAECadillac Pink
#F778A1Carnation Pink
#E56E94Blush Red
#DB7093PaleVioletRed (W3C)
#D16587Purple Pink
#C25A7CTulip Pink
#C25283Bashful Pink
#E75480Dark Pink
#F660ABDark Hot Pink
#FF69B4HotPink (W3C)
#FC6C85Watermelon Pink
#F6358AViolet Red
#F52887Hot Deep Pink
#FF007FBright Pink
#FF1493DeepPink (W3C)
#F535AANeon Pink
#FD349CNeon Hot Pink
#E45E9DPink Cupcake
#E759ACRoyal Pink
#E3319DDimorphotheca Magenta
#E4287CPink Lemonade
#FA2A55Red Pink
#E30B5DRaspberry
#DC143CCrimson (W3C)
#C32148Bright Maroon
#C21E56Rose Red
#C12869Rogue Pink
#C12267Burnt Pink
#CA226BPink Violet
#CC338BMagenta Pink
#C71585MediumVioletRed (W3C)
#C12283Dark Carnation Pink
#B3446CRaspberry Purple
#B93B8FPink Plum
#DA70D6Orchid (W3C)
#DF73D4Deep Mauve
#EE82EEViolet (W3C)
#FF77FFFuchsia Pink
#F433FFBright Neon Pink
#FF00FFFuchsia or Magenta (W3C)
#E238ECCrimson Purple
#D462FFHeliotrope Purple
#C45AECTyrian Purple
#BA55D3MediumOrchid (W3C)
#A74AC7Purple Flower
#B048B5Orchid Purple
#D291BCPastel Violet
#915F6DMauve Taupe
#7E587EViola Purple
#614051Eggplant
#583759Plum Purple
#5E5A80Grape
#4E5180Purple Navy
#6A5ACDSlateBlue (W3C)
#6960ECBlue Lotus
#736AFFLight Slate Blue
#7B68EEMediumSlateBlue (W3C)
#7575CFPeriwinkle Purple
#6667ABVery Peri
#6F2DA8Bright Grape
#6C2DC7Purple Amethyst
#6A0DADBright Purple
#5453A6Deep Periwinkle
#483D8BDarkSlateBlue (W3C)
#4E387EPurple Haze
#571B7EPurple Iris
#4B0150Dark Purple
#36013FDeep Purple
#461B7EPurple Monster
#4B0082Indigo (W3C)
#342D7EBlue Whale
#663399RebeccaPurple (W3C)
#6A287EPurple Jam
#8B008BDarkMagenta (W3C)
#800080Purple (W3C)
#86608EFrench Lilac
#9932CCDarkOrchid (W3C)
#9400D3DarkViolet (W3C)
#8D38C9Purple Violet
#A23BECJasmine Purple
#B041FFPurple Daffodil
#842DCEClematis Violet
#8A2BE2BlueViolet (W3C)
#7A5DC7Purple Sage Bush
#7F38ECLovely Purple
#9D00FFNeon Purple
#8E35EFPurple Plum
#893BFFAztech Purple
#967BB6Lavender Purple
#9370DBMediumPurple (W3C)
#8467D7Light Purple
#9172ECCrocus Purple
#9E7BFFPurple Mimosa
#CCCCFFPeriwinkle
#DCD0FFPale Lilac
#E0B0FFMauve
#D891EFBright Lilac
#B666D2Rich Lilac
#C38EC7Purple Dragon
#C8A2C8Lilac
#DDA0DDPlum (W3C)
#E6A9ECBlush Pink
#F2A2E8Pastel Purple
#F9B7FFBlossom Pink
#C6AEC7Wisteria Purple
#D2B9D3Purple Thistle
#D8BFD8Thistle (W3C)
#DFD3E3Purple White
#E9CFECPeriwinkle Pink
#FCDFFFCotton Candy
#EBDDE2Lavender Pinocchio
#E1D9D1Dark White
#E9E4D4Ash White
#EDE6D6White Chocolate
#FAF0DDSoft Ivory
#F8F0E3Off White
#F8F6F0Pearl White
#F3E8EARed White
#FFF0F5LavenderBlush (W3C)
#FDEEF4Pearl
#FFF9E3Egg Shell
#FDF5E6OldLace (W3C)
#FAF0E6Linen (W3C)
#FFF5EESeaShell (W3C)
#F9F6EEBone White
#FAF5EFRice
#FFFAF0FloralWhite (W3C)
#FFFFF0Ivory (W3C)
#FFFFF4White Gold
#FFFFF7Light White
#F5F5F5WhiteSmoke (W3C)
#FBFBF9Cotton
#FFFAFASnow (W3C)
#FEFCFFMilk White
#FFFFFFWhite (W3C)
Share:

Simple Comment Box using Bootstrap 3 HTML

 HTML CODE

<div class="detailBox">

    <div class="titleBox">

      <label>Comment Box</label>

        <button type="button" class="close" aria-hidden="true">&times;</button>

    </div>

    <div class="commentBox">

        

        <p class="taskDescription">Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>

    </div>

    <div class="actionBox">

        <ul class="commentList">

            <li>

                <div class="commenterImage">

                  <img src="http://placekitten.com/50/50" />

                </div>

                <div class="commentText">

                    <p class="">Hello this is a test comment.</p> <span class="date sub-text">on March 5th, 2014</span>


                </div>

            </li>

            <li>

                <div class="commenterImage">

                  <img src="http://placekitten.com/45/45" />

                </div>

                <div class="commentText">

                    <p class="">Hello this is a test comment and this comment is particularly very long and it goes on and on and on.</p> <span class="date sub-text">on March 5th, 2014</span>


                </div>

            </li>

            <li>

                <div class="commenterImage">

                  <img src="http://placekitten.com/40/40" />

                </div>

                <div class="commentText">

                    <p class="">Hello this is a test comment.</p> <span class="date sub-text">on March 5th, 2014</span>


                </div>

            </li>

        </ul>

        <form class="form-inline" role="form">

            <div class="form-group">

                <input class="form-control" type="text" placeholder="Your comments" />

            </div>

            <div class="form-group">

                <button class="btn btn-default">Add</button>

            </div>

        </form>

    </div>

</div>

CSS CODE

@import url(//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css);


.detailBox {

    width:320px;

    border:1px solid #bbb;

    margin:50px;

}

.titleBox {

    background-color:#fdfdfd;

    padding:10px;

}

.titleBox label{

  color:#444;

  margin:0;

  display:inline-block;

}


.commentBox {

    padding:10px;

    border-top:1px dotted #bbb;

}

.commentBox .form-group:first-child, .actionBox .form-group:first-child {

    width:80%;

}

.commentBox .form-group:nth-child(2), .actionBox .form-group:nth-child(2) {

    width:18%;

}

.actionBox .form-group * {

    width:100%;

}

.taskDescription {

    margin-top:10px 0;

}

.commentList {

    padding:0;

    list-style:none;

    max-height:200px;

    overflow:auto;

}

.commentList li {

    margin:0;

    margin-top:10px;

}

.commentList li > div {

    display:table-cell;

}

.commenterImage {

    width:30px;

    margin-right:5px;

    height:100%;

    float:left;

}

.commenterImage img {

    width:100%;

    border-radius:50%;

}

.commentText p {

    margin:0;

}

.sub-text {

    color:#aaa;

    font-family:verdana;

    font-size:11px;

}

.actionBox {

    border-top:1px dotted #bbb;

    padding:10px;

}

Share:

Comments Box / List HTML

 HTML CODE

<div class="comments-container">

<h1>Comentarios <a href="http://creaticode.com">creaticode.com</a></h1>


<ul id="comments-list" class="comments-list">

<li>

<div class="comment-main-level">

<!-- Avatar -->

<div class="comment-avatar"><img src="http://i9.photobucket.com/albums/a88/creaticode/avatar_1_zps8e1c80cd.jpg" alt=""></div>

<!-- Contenedor del Comentario -->

<div class="comment-box">

<div class="comment-head">

<h6 class="comment-name by-author"><a href="http://creaticode.com/blog">Agustin Ortiz</a></h6>

<span>hace 20 minutos</span>

<i class="fa fa-reply"></i>

<i class="fa fa-heart"></i>

</div>

<div class="comment-content">

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Velit omnis animi et iure laudantium vitae, praesentium optio, sapiente distinctio illo?

</div>

</div>

</div>

<!-- Respuestas de los comentarios -->

<ul class="comments-list reply-list">

<li>

<!-- Avatar -->

<div class="comment-avatar"><img src="http://i9.photobucket.com/albums/a88/creaticode/avatar_2_zps7de12f8b.jpg" alt=""></div>

<!-- Contenedor del Comentario -->

<div class="comment-box">

<div class="comment-head">

<h6 class="comment-name"><a href="http://creaticode.com/blog">Lorena Rojero</a></h6>

<span>hace 10 minutos</span>

<i class="fa fa-reply"></i>

<i class="fa fa-heart"></i>

</div>

<div class="comment-content">

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Velit omnis animi et iure laudantium vitae, praesentium optio, sapiente distinctio illo?

</div>

</div>

</li>


<li>

<!-- Avatar -->

<div class="comment-avatar"><img src="http://i9.photobucket.com/albums/a88/creaticode/avatar_1_zps8e1c80cd.jpg" alt=""></div>

<!-- Contenedor del Comentario -->

<div class="comment-box">

<div class="comment-head">

<h6 class="comment-name by-author"><a href="http://creaticode.com/blog">Agustin Ortiz</a></h6>

<span>hace 10 minutos</span>

<i class="fa fa-reply"></i>

<i class="fa fa-heart"></i>

</div>

<div class="comment-content">

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Velit omnis animi et iure laudantium vitae, praesentium optio, sapiente distinctio illo?

</div>

</div>

</li>

</ul>

</li>


<li>

<div class="comment-main-level">

<!-- Avatar -->

<div class="comment-avatar"><img src="http://i9.photobucket.com/albums/a88/creaticode/avatar_2_zps7de12f8b.jpg" alt=""></div>

<!-- Contenedor del Comentario -->

<div class="comment-box">

<div class="comment-head">

<h6 class="comment-name"><a href="http://creaticode.com/blog">Lorena Rojero</a></h6>

<span>hace 10 minutos</span>

<i class="fa fa-reply"></i>

<i class="fa fa-heart"></i>

</div>

<div class="comment-content">

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Velit omnis animi et iure laudantium vitae, praesentium optio, sapiente distinctio illo?

</div>

</div>

</div>

</li>

</ul>

</div>

CSS CODE 

/**

 * Oscuro: #283035

 * Azul: #03658c

 * Detalle: #c7cacb

 * Fondo: #dee1e3

 ----------------------------------*/

 * {

  margin: 0;

  padding: 0;

  -webkit-box-sizing: border-box;

  -moz-box-sizing: border-box;

  box-sizing: border-box;

 }


 a {

  color: #03658c;

  text-decoration: none;

 }


ul {

list-style-type: none;

}


body {

font-family: 'Roboto', Arial, Helvetica, Sans-serif, Verdana;

background: #dee1e3;

}


/** ====================

 * Lista de Comentarios

 =======================*/

.comments-container {

margin: 60px auto 15px;

width: 768px;

}


.comments-container h1 {

font-size: 36px;

color: #283035;

font-weight: 400;

}


.comments-container h1 a {

font-size: 18px;

font-weight: 700;

}


.comments-list {

margin-top: 30px;

position: relative;

}


/**

 * Lineas / Detalles

 -----------------------*/

.comments-list:before {

content: '';

width: 2px;

height: 100%;

background: #c7cacb;

position: absolute;

left: 32px;

top: 0;

}


.comments-list:after {

content: '';

position: absolute;

background: #c7cacb;

bottom: 0;

left: 27px;

width: 7px;

height: 7px;

border: 3px solid #dee1e3;

-webkit-border-radius: 50%;

-moz-border-radius: 50%;

border-radius: 50%;

}


.reply-list:before, .reply-list:after {display: none;}

.reply-list li:before {

content: '';

width: 60px;

height: 2px;

background: #c7cacb;

position: absolute;

top: 25px;

left: -55px;

}



.comments-list li {

margin-bottom: 15px;

display: block;

position: relative;

}


.comments-list li:after {

content: '';

display: block;

clear: both;

height: 0;

width: 0;

}


.reply-list {

padding-left: 88px;

clear: both;

margin-top: 15px;

}

/**

 * Avatar

 ---------------------------*/

.comments-list .comment-avatar {

width: 65px;

height: 65px;

position: relative;

z-index: 99;

float: left;

border: 3px solid #FFF;

-webkit-border-radius: 4px;

-moz-border-radius: 4px;

border-radius: 4px;

-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.2);

-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.2);

box-shadow: 0 1px 2px rgba(0,0,0,0.2);

overflow: hidden;

}


.comments-list .comment-avatar img {

width: 100%;

height: 100%;

}


.reply-list .comment-avatar {

width: 50px;

height: 50px;

}


.comment-main-level:after {

content: '';

width: 0;

height: 0;

display: block;

clear: both;

}

/**

 * Caja del Comentario

 ---------------------------*/

.comments-list .comment-box {

width: 680px;

float: right;

position: relative;

-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.15);

-moz-box-shadow: 0 1px 1px rgba(0,0,0,0.15);

box-shadow: 0 1px 1px rgba(0,0,0,0.15);

}


.comments-list .comment-box:before, .comments-list .comment-box:after {

content: '';

height: 0;

width: 0;

position: absolute;

display: block;

border-width: 10px 12px 10px 0;

border-style: solid;

border-color: transparent #FCFCFC;

top: 8px;

left: -11px;

}


.comments-list .comment-box:before {

border-width: 11px 13px 11px 0;

border-color: transparent rgba(0,0,0,0.05);

left: -12px;

}


.reply-list .comment-box {

width: 610px;

}

.comment-box .comment-head {

background: #FCFCFC;

padding: 10px 12px;

border-bottom: 1px solid #E5E5E5;

overflow: hidden;

-webkit-border-radius: 4px 4px 0 0;

-moz-border-radius: 4px 4px 0 0;

border-radius: 4px 4px 0 0;

}


.comment-box .comment-head i {

float: right;

margin-left: 14px;

position: relative;

top: 2px;

color: #A6A6A6;

cursor: pointer;

-webkit-transition: color 0.3s ease;

-o-transition: color 0.3s ease;

transition: color 0.3s ease;

}


.comment-box .comment-head i:hover {

color: #03658c;

}


.comment-box .comment-name {

color: #283035;

font-size: 14px;

font-weight: 700;

float: left;

margin-right: 10px;

}


.comment-box .comment-name a {

color: #283035;

}


.comment-box .comment-head span {

float: left;

color: #999;

font-size: 13px;

position: relative;

top: 1px;

}


.comment-box .comment-content {

background: #FFF;

padding: 12px;

font-size: 15px;

color: #595959;

-webkit-border-radius: 0 0 4px 4px;

-moz-border-radius: 0 0 4px 4px;

border-radius: 0 0 4px 4px;

}


.comment-box .comment-name.by-author, .comment-box .comment-name.by-author a {color: #03658c;}

.comment-box .comment-name.by-author:after {

content: 'autor';

background: #03658c;

color: #FFF;

font-size: 12px;

padding: 3px 5px;

font-weight: 700;

margin-left: 10px;

-webkit-border-radius: 3px;

-moz-border-radius: 3px;

border-radius: 3px;

}


/** =====================

 * Responsive

 ========================*/

@media only screen and (max-width: 766px) {

.comments-container {

width: 480px;

}


.comments-list .comment-box {

width: 390px;

}


.reply-list .comment-box {

width: 320px;

}

}

Share:

Search Box Practice #3 HTML

 HTMLCODE

<form class="form-wrapper cf">

  <input type="text" placeholder="Search here..." required>

  <button type="submit">Search</button>

</form>

<div class="byline"><p>search box by <a href="http://speckyboy.com/2012/02/15/how-to-build-a-stylish-css3-search-box/">SpeckyBoy</a> featured on <a href="http://thecodeblock.com/search-box-tutorials-using-css3-jquery/">THE CODE BLOCK</a></p></div>

CSS CODE

body {

        background: #555 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAB9JREFUeNpi/P//PwM6YGLAAuCCmpqacC2MRGsHCDAA+fIHfeQbO8kAAAAASUVORK5CYII=);

        font: 13px 'Lucida sans', Arial, Helvetica;

        color: #eee;

        text-align: center;

    }

    

    a {

        color: #ccc;

    }

    

    /*-------------------------------------*/

    

    .cf:before, .cf:after{

      content:"";

      display:table;

    }

    

    .cf:after{

      clear:both;

    }


    .cf{

      zoom:1;

    }


    /*-------------------------------------*/

    

    .form-wrapper {

        width: 450px;

        padding: 15px;

        margin: 150px auto 50px auto;

        background: #444;

        background: rgba(0,0,0,.2);

        -moz-border-radius: 10px;

        -webkit-border-radius: 10px;

        border-radius: 10px;

        -moz-box-shadow: 0 1px 1px rgba(0,0,0,.4) inset, 0 1px 0 rgba(255,255,255,.2);

        -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.4) inset, 0 1px 0 rgba(255,255,255,.2);

        box-shadow: 0 1px 1px rgba(0,0,0,.4) inset, 0 1px 0 rgba(255,255,255,.2);

    }

    

    .form-wrapper input {

        width: 330px;

        height: 20px;

        padding: 10px 5px;

        float: left;    

        font: bold 15px 'lucida sans', 'trebuchet MS', 'Tahoma';

        border: 0;

        background: #eee;

        -moz-border-radius: 3px 0 0 3px;

        -webkit-border-radius: 3px 0 0 3px;

        border-radius: 3px 0 0 3px;      

    }

    

    .form-wrapper input:focus {

        outline: 0;

        background: #fff;

        -moz-box-shadow: 0 0 2px rgba(0,0,0,.8) inset;

        -webkit-box-shadow: 0 0 2px rgba(0,0,0,.8) inset;

        box-shadow: 0 0 2px rgba(0,0,0,.8) inset;

    }

    

    .form-wrapper input::-webkit-input-placeholder {

       color: #999;

       font-weight: normal;

       font-style: italic;

    }

    

    .form-wrapper input:-moz-placeholder {

        color: #999;

        font-weight: normal;

        font-style: italic;

    }

    

    .form-wrapper input:-ms-input-placeholder {

        color: #999;

        font-weight: normal;

        font-style: italic;

    }    

    

    .form-wrapper button {

overflow: visible;

        position: relative;

        float: right;

        border: 0;

        padding: 0;

        cursor: pointer;

        height: 40px;

        width: 110px;

        font: bold 15px/40px 'lucida sans', 'trebuchet MS', 'Tahoma';

        color: #fff;

        text-transform: uppercase;

        background: #d83c3c;

        -moz-border-radius: 0 3px 3px 0;

        -webkit-border-radius: 0 3px 3px 0;

        border-radius: 0 3px 3px 0;      

        text-shadow: 0 -1px 0 rgba(0, 0 ,0, .3);

    }   

      

    .form-wrapper button:hover{

        background: #e54040;

    }

      

    .form-wrapper button:active,

    .form-wrapper button:focus{   

        background: #c42f2f;    

    }

    

    .form-wrapper button:before {

        content: '';

        position: absolute;

        border-width: 8px 8px 8px 0;

        border-style: solid solid solid none;

        border-color: transparent #d83c3c transparent;

        top: 12px;

        left: -6px;

    }

    

    .form-wrapper button:hover:before{

        border-right-color: #e54040;

    }

    

    .form-wrapper button:focus:before{

        border-right-color: #c42f2f;

    }    

    

    .form-wrapper button::-moz-focus-inner {

        border: 0;

        padding: 0;

    }

.byline p{

  text-align:center;

  color:#c6c6c6;

  font: bold 18px Arial, Helvetica, Sans-serif;

  text-shadow: 0 2px 3px rgba(0,0,0,0.1);

}


.byline p a{

  color:#d83c3c;

  text-decoration:none;

}

Share:

Textbox with a clear button in Pure CSS and without JavaScript HTML

 HTML CODE

<h1>

Textbox with a clear button completely in CSS <br> <span class="redfamily">< 0 lines of JavaScript ></span>

</h1>

<div class="search-wrapper">

<form>

<input type="text" name="focus" required class="search-box" placeholder="Enter search term" />

<button class="close-icon" type="reset"></button>

</form>

</div>

CSS CODE

body {

background-color: #f1f1f1;

font-family: Helvetica,Arial,Verdana;


}

h1 {

color: green;

text-align: center;

}

.redfamily {

color: red;

}

.search-box,.close-icon,.search-wrapper {

position: relative;

padding: 10px;

}

.search-wrapper {

width: 500px;

margin: auto;

margin-top: 50px;

}

.search-box {

width: 80%;

border: 1px solid #ccc;

  outline: 0;

  border-radius: 15px;

}

.search-box:focus {

box-shadow: 0 0 15px 5px #b0e0ee;

border: 2px solid #bebede;

}

.close-icon {

border:1px solid transparent;

background-color: transparent;

display: inline-block;

vertical-align: middle;

  outline: 0;

  cursor: pointer;

}

.close-icon:after {

content: "X";

display: block;

width: 15px;

height: 15px;

position: absolute;

background-color: #FA9595;

z-index:1;

right: 35px;

top: 0;

bottom: 0;

margin: auto;

padding: 2px;

border-radius: 50%;

text-align: center;

color: white;

font-weight: normal;

font-size: 12px;

box-shadow: 0 0 2px #E50F0F;

cursor: pointer;

}

.search-box:not(:valid) ~ .close-icon {

display: none;

}



Share: