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
- Workaround for p:contextMenu in dataTable
- How to get Company Id in Liferay
- How to load file(s) in the same directory
- How to copy folder with Maven
- How to override JSF library in JBoss
- How to copy file(s) with Maven
- How to easily get logged in user in Liferay.
- How to pass date type parameter in a restful service
- Saving and Updating a document with json in MongoDB
- How to exclude all files in resources folder
No comments:
Post a Comment