before pseudo class : pseudo class « CSS Style « XML






before pseudo class



File: Data.xml

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="Style.css"?>
<PROJECTDB>
  <TOPICAREA>
      <PROJECT>
        <PROJECTTITLE>title</PROJECTTITLE>
        <DEVELOPER>developer</DEVELOPER>
        <CONTACT>address</CONTACT>
      </PROJECT>
  </TOPICAREA>
</PROJECTDB>



File: Style.css

DEVELOPER:before {
   content: "text";
   display: block
}

PROJECTTITLE {
   display: block
}

 








Related examples in the same category

1.pseudo class:before
2.Add content to pseudo class