the code below is to create a slanted Preview like the image below.
<div
style="position: absolute; top: 75px; left: -225px; width: 600px; height: 28px; margin: 0px; padding: 10px; font-size: 24px; text-align: center; color: rgb(255, 255, 255); font-family: "trebuchet ms",verdana,arial,sans-serif; transform: rotate(-45deg); transform-origin: 50% 0px 0px; border: 1px solid transparent; z-index: 1200; background-color: rgb(0, 0, 0);" >
Preview
</div>
Done!!
Subscribe to:
Post Comments (Atom)
Popular Posts
- Primefaces fileDownload in Liferay
- How to calculate memory used by an object
- How to attach source code for a third party jar file in Eclipse
- How to add/remove row in datatable
- How to generate entities from tables with Eclipse JPA Tools
- How to get Liferay portlet id from URL
- How to create wizard with dynamic include in JSF2
- Google Maps' icon not rendered in Liferay 6.2
- How to deploy jdbc driver as a module in JBoss AS7
- How to access Liferay Local Service API
No comments:
Post a Comment