Is there an "opposite" of electricity...
Besides the obvious "not electricity"...
How do magnets work?
There are four forces; Gravity, Electromagnetic, Weak and Strong Nuclear in order from weakest to strongest.
As of what is known right now, no. Electricity is what electrons do. However what you're really thinking of is, 'Is there an opposite to an electric field?' Still no but, a photon is a carrier particle (the movement of an electron dictates the emission and absorption of a photon) for the electromagnetic force of which, an electric field is one component and a magnetic field is the other. As a photon propagates the E-field is 'neutral' with the magnetic field, usually denoted, B-field(since they're perpendicular has the mathematical property of linear independence). All matter we experience has both of these.
If a material is 'isotropic' then it means that the structure is the same in every direction. A magnet most commonly iron is not isotropic. The lattice structure is such that little sections, chalk full of compass needs align in a particular direction called domains. The sum total of these domains point in a particular direction defined as north or +. B-Fields have the property of what ever starts has to end, or since there is a + the opposite direction is a -. The E-fields, if they do not sum to 0 then there is current also known as electricity.
In the presence of an E or B field, the domains with realign themselves to be parallel if B field, perpendicular if in the E field. i.e. a compass needle is aligning itself with the magnetic field
There are three classification of magnets:
ferromagnetic, what you're familiar with
Paramagnetic, only magnetic in the presence of a B field. Like from a ferromagnet
and Diamagnetic is like a paramagnet but opposite?
Any questions?