Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion css/halfstyle.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@
position:absolute;
top:0;
width: 50%;
width: 100%
content: attr(data-content); /* dynamic content for the pseudo element */
pointer-events: none; /* so the base char is selectable by mouse and the click handlers bound on it will fire */
overflow:hidden;

color: #f00; /* for demo purposes */
}
/* end half-style hs-base */
Expand All @@ -41,6 +43,7 @@
position:absolute;
top:0;
width: 50%;
width: 100%;
content: attr(data-content); /* dynamic content for the pseudo element */
overflow:hidden;
pointer-events: none; /* so the base char is selectable by mouse and the click handlers bound on it will fire */
Expand All @@ -52,6 +55,7 @@
direction: rtl; /* very important, will make the width to start from right */
position:absolute;
z-index:2;
z- index:1.5;
top:0;
left:50%;
width: 50%;
Expand Down Expand Up @@ -227,4 +231,4 @@
overflow:hidden;
color: white;
}
/* end half-style hs-KevinGranger
/* end half-style hs-KevinGranger