Self Restricted Elements

  • Unlike previous examples, the restriction here is related to the element position instead of the container boundaries.
  • E.g: Restricted from the bottom will prevent the element from moving down while keeping the free movement for all three directions.
  • restricted left only
  • restricted right only
  • restricted left & right only
  • restricted top only
  • restricted bottom only
  • restricted top & bottom only
  • restricted all

Sign in