<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.plecko.hr/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.plecko.hr/feed.php">
        <title>Eureka Moment development:css</title>
        <description></description>
        <link>https://wiki.plecko.hr/</link>
        <image rdf:resource="https://wiki.plecko.hr/lib/tpl/bootstrap3/images/favicon.ico" />
       <dc:date>2026-04-25T16:46:09+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.plecko.hr/doku.php?id=development:css:box_shadow&amp;rev=1572509040&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.plecko.hr/doku.php?id=development:css:cent_bg&amp;rev=1572509040&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.plecko.hr/doku.php?id=development:css:cent_wp&amp;rev=1572509040&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.plecko.hr/doku.php?id=development:css:fixed_header_footer&amp;rev=1572509040&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.plecko.hr/doku.php?id=development:css:force_v_scroll&amp;rev=1572509040&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.plecko.hr/doku.php?id=development:css:glow_input&amp;rev=1572509040&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.plecko.hr/doku.php?id=development:css:highlight_table_row&amp;rev=1572509040&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.plecko.hr/doku.php?id=development:css:resize_cell&amp;rev=1572509040&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.plecko.hr/doku.php?id=development:css:ribbon&amp;rev=1572509040&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.plecko.hr/doku.php?id=development:css:start&amp;rev=1572509040&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.plecko.hr/doku.php?id=development:css:text_shadow&amp;rev=1572509040&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.plecko.hr/doku.php?id=development:css:top_shadow&amp;rev=1572509040&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.plecko.hr/doku.php?id=development:css:tucked_corners&amp;rev=1572509040&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.plecko.hr/lib/tpl/bootstrap3/images/favicon.ico">
        <title>Eureka Moment</title>
        <link>https://wiki.plecko.hr/</link>
        <url>https://wiki.plecko.hr/lib/tpl/bootstrap3/images/favicon.ico</url>
    </image>
    <item rdf:about="https://wiki.plecko.hr/doku.php?id=development:css:box_shadow&amp;rev=1572509040&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-10-31T09:04:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>development:css:box_shadow</title>
        <link>https://wiki.plecko.hr/doku.php?id=development:css:box_shadow&amp;rev=1572509040&amp;do=diff</link>
        <description>CSS: Box shadow

Adding a simple shadow to any rectangle shaped object is quite easy. Here is how to do it cross-browser.


.shadow {
-moz-box-shadow: 3px 3px 5px 6px #ccc;
-webkit-box-shadow: 3px 3px 5px 6px #ccc;
box-shadow: 3px 3px 5px 6px #ccc;
}</description>
    </item>
    <item rdf:about="https://wiki.plecko.hr/doku.php?id=development:css:cent_bg&amp;rev=1572509040&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-10-31T09:04:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>development:css:cent_bg</title>
        <link>https://wiki.plecko.hr/doku.php?id=development:css:cent_bg&amp;rev=1572509040&amp;do=diff</link>
        <description>Centering background image with CSS

Just add style to HTML


html { 
width:100%; 
height:100%; 
background:url(logo.png) center center no-repeat;
}</description>
    </item>
    <item rdf:about="https://wiki.plecko.hr/doku.php?id=development:css:cent_wp&amp;rev=1572509040&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-10-31T09:04:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>development:css:cent_wp</title>
        <link>https://wiki.plecko.hr/doku.php?id=development:css:cent_wp&amp;rev=1572509040&amp;do=diff</link>
        <description>Centering a web page with CSS

Web page DIV:


&lt;div id=&quot;page-wrap&quot;&gt;&lt;br /&gt; &lt;!-- all websites HTML here --&gt;&lt;/div&gt;


And CSS:


#page-wrap {
width: 800px;
margin: 0 auto;
}</description>
    </item>
    <item rdf:about="https://wiki.plecko.hr/doku.php?id=development:css:fixed_header_footer&amp;rev=1572509040&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-10-31T09:04:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>development:css:fixed_header_footer</title>
        <link>https://wiki.plecko.hr/doku.php?id=development:css:fixed_header_footer&amp;rev=1572509040&amp;do=diff</link>
        <description>Fixed header/footer with shadow

If you need a static header on the web page for a menu system, or a static footer for some data (tips perhaps?) to be displayed, here is how.

Header HTML:


&lt;div id=&quot;header&quot; class=&quot;shadeh&quot;&gt;content&lt;/div&gt;


Header CSS:</description>
    </item>
    <item rdf:about="https://wiki.plecko.hr/doku.php?id=development:css:force_v_scroll&amp;rev=1572509040&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-10-31T09:04:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>development:css:force_v_scroll</title>
        <link>https://wiki.plecko.hr/doku.php?id=development:css:force_v_scroll&amp;rev=1572509040&amp;do=diff</link>
        <description>Force vertical scrollbar

This is invalid CSS, but it works in everything except Opera. The reason for this is to prevent “centering jumps” when navigating back and forth between pages with enough content to have a vertical scroll bar and pages that do not.</description>
    </item>
    <item rdf:about="https://wiki.plecko.hr/doku.php?id=development:css:glow_input&amp;rev=1572509040&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-10-31T09:04:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>development:css:glow_input</title>
        <link>https://wiki.plecko.hr/doku.php?id=development:css:glow_input&amp;rev=1572509040&amp;do=diff</link>
        <description>Glowing input highlight

Here is how to make a glowing text input. It glows when focused

CSS:


input[type=text], textarea {
-webkit-transition: all 0.30s ease-in-out;
-moz-transition: all 0.30s ease-in-out;
-ms-transition: all 0.30s ease-in-out;
-o-transition: all 0.30s ease-in-out;
outline: none;
padding: 3px 0px 3px 3px;
margin: 5px 1px 3px 0px;
border: 1px solid #DDDDDD;
}

input[type=text]:focus, textarea:focus {
box-shadow: 0 0 5px rgba(81, 203, 238, 1);
padding: 3px 0px 3px 3px;
margin: …</description>
    </item>
    <item rdf:about="https://wiki.plecko.hr/doku.php?id=development:css:highlight_table_row&amp;rev=1572509040&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-10-31T09:04:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>development:css:highlight_table_row</title>
        <link>https://wiki.plecko.hr/doku.php?id=development:css:highlight_table_row&amp;rev=1572509040&amp;do=diff</link>
        <description>Highlight table rows using CSS

In order to highlight a table row without using javascript, use the following CSS code:


tr {background-color: #000000}
tr:hover {background-color: #333333}


Or if you only want to highlight certain rows, use this CSS</description>
    </item>
    <item rdf:about="https://wiki.plecko.hr/doku.php?id=development:css:resize_cell&amp;rev=1572509040&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-10-31T09:04:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>development:css:resize_cell</title>
        <link>https://wiki.plecko.hr/doku.php?id=development:css:resize_cell&amp;rev=1572509040&amp;do=diff</link>
        <description>Resize table cell to content using CSS

If you wish to resize a table cell to fit its content, use the following CSS code:


td {width:1%; white-space:nowrap; padding:0px 5px 0px 5px;}


Be sure to have at least one free size cell if the table has defined width</description>
    </item>
    <item rdf:about="https://wiki.plecko.hr/doku.php?id=development:css:ribbon&amp;rev=1572509040&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-10-31T09:04:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>development:css:ribbon</title>
        <link>https://wiki.plecko.hr/doku.php?id=development:css:ribbon&amp;rev=1572509040&amp;do=diff</link>
        <description>Corner ribbon (crossbrowser)

Code for drawing  a ribbon in the div corner.

HTML:


&lt;div class=&quot;wrapper&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;ribbon-wrapper-green&quot;&gt;
&lt;div class=&quot;ribbon-green&quot;&gt;NEWS&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;


CSS:


.wrapper {
margin: 50px auto;
width: 280px;
height: 370px;
background: white;
border-radius: 10px;
-webkit-box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
-moz-box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
position: relative;
z-index: 90;
}

.ribbon-wrapper-green…</description>
    </item>
    <item rdf:about="https://wiki.plecko.hr/doku.php?id=development:css:start&amp;rev=1572509040&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-10-31T09:04:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>development:css:start</title>
        <link>https://wiki.plecko.hr/doku.php?id=development:css:start&amp;rev=1572509040&amp;do=diff</link>
        <description>CSS




	* Centering a web page with CSS
	* Centering background image with CSS
	* Corner ribbon (crossbrowser)
	* CSS: Box shadow
	* Fixed header/footer with shadow
	* Force vertical scrollbar
	* Glowing input highlight
	* Highlight table rows using CSS
	* Resize table cell to content using CSS
	* Text shadow with CSS
	* Top shadow
	* Tucked corners</description>
    </item>
    <item rdf:about="https://wiki.plecko.hr/doku.php?id=development:css:text_shadow&amp;rev=1572509040&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-10-31T09:04:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>development:css:text_shadow</title>
        <link>https://wiki.plecko.hr/doku.php?id=development:css:text_shadow&amp;rev=1572509040&amp;do=diff</link>
        <description>Text shadow with CSS

Adding shadows to text (and explanation of parameters)

Regular text shadow:


p { text-shadow: 1px 1px 1px #000; }


Multiple shadows:


p { text-shadow: 1px 1px 1px #000, 3px 3px 5px blue; }


The first two values specify the length of the shadow offset. The first value specifies the horizontal distance and the second specifies the vertical distance of the shadow. The third value specifies the blur radius and the last value describes the color of the shadow:</description>
    </item>
    <item rdf:about="https://wiki.plecko.hr/doku.php?id=development:css:top_shadow&amp;rev=1572509040&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-10-31T09:04:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>development:css:top_shadow</title>
        <link>https://wiki.plecko.hr/doku.php?id=development:css:top_shadow&amp;rev=1572509040&amp;do=diff</link>
        <description>Top shadow

Shadow on top of the page (appears that the page is inset in browser)

CSS:


body:before {
content: &quot;&quot;;
position: fixed;
top: -10px;
left: 0;
width: 100%;
height: 10px;

-webkit-box-shadow: 0px 0px 10px rgba(0,0,0,.8);
-moz-box-shadow: 0px 0px 10px rgba(0,0,0,.8);
box-shadow: 0px 0px 10px rgba(0,0,0,.8);

z-index: 100;
}</description>
    </item>
    <item rdf:about="https://wiki.plecko.hr/doku.php?id=development:css:tucked_corners&amp;rev=1572509040&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-10-31T09:04:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>development:css:tucked_corners</title>
        <link>https://wiki.plecko.hr/doku.php?id=development:css:tucked_corners&amp;rev=1572509040&amp;do=diff</link>
        <description>Tucked corners

CSS tucked corners

HTML:


&lt;div class=&quot;corners&quot;&gt;&lt;br /&gt; Content&lt;/div&gt;


CSS:


body {
background: #e6e6e6;
}
.corners { 
background: #f6f6f6;
height: 700px;
margin: 50px auto;
max-width: 600px;
position: relative;
width: 80%;
-webkit-box-shadow: 0 1px 7px hsla(0,0%,0%,.2);
-moz-box-shadow: 0 1px 7px hsla(0,0%,0%,.2);
box-shadow: 0 1px 7px hsla(0,0%,0%,.2);
}
/* Corner Effect */
.corners:after,
.corners:before {
background: #e6e6e6;
content: '';
height: 50px;
position: absolute;
t…</description>
    </item>
</rdf:RDF>
