Skip to main content

Forums

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: to show scroll bar or not #200794

    moxieman
    Participant

    You can actually detect the width of the scrollbar by using calc(100vw - 100%)

    Using this width, you can set padding on the element to bump the content to the right when the scrollbars appear.

    This will technically result in off-center content, but the jump will be gone.

    Check out this pen. http://codepen.io/jeffSWMC/pen/yNBGLq

    in reply to: Shorthand and Previous Values #194625

    moxieman
    Participant

    99% of the time it’s not an issue, I either declare right after or use non-shorthand (or if it’s variable worthy, make it a variable).

    It’s more of a curiosity than anything else, really.

    in reply to: Shorthand and Previous Values #194616

    moxieman
    Participant

    Ideally I wouldn’t want to declare them twice (DRY Blah blah blah)

    and potentially the query might be lines away from the initial declaration, so I might have to hunt for what the value was.

    Or, in the reverse, change the initial declaration and not worry if there was a media query override for that property later on in the code.

    in reply to: Form line/shadow will not GO AWAY. #184987

    moxieman
    Participant

    Read this article for styling placeholder text:

    Style Placeholder Text

    in reply to: Form line/shadow will not GO AWAY. #184977

    moxieman
    Participant

    on line 62 of main_style.css change:

    background-color: #3a055e;
    to
    background: #3a055e;

    or declare background: none; before the background color.

Viewing 5 posts - 1 through 5 (of 5 total)
icon-link icon-logo-star icon-search icon-star