Superconductivity is analysed based on the product-like fractal measure approach with fractal dimension
α
introduced by Li and Ostoja-Starzewski in their attempt to explore anisotropic fractal elastic media. Our study shows the emergence of a massless state at the boundary of the superconductor and the simultaneous occurrence of isothermal and adiabatic processes in the superconductor depending on the position of the electrons. Several physical quantities were found to be position-dependent comparable with those arising in heavy doping and
p–n
junction. At the boundary of the superconductor, a shrinkage of the magnetic field was observed, leading to a scenario equivalent to the Meissner–Ochsenfeld effect. An enhancement of the London penetration depth is revealed and such an improvement was observed in pnictides at the onset of commensurate spin-density-wave order inside the superconducting phase at zero temperature. The Bardeen–Cooper–Schrieffer theory was also analysed and the appearance of zero-energy states is detected. Nucleation of superconductivity in a bulk was also studied. The system acts as a quantum damped harmonic oscillator and our analysis showed that type-I superconductivity occurs when
κ
<
2
/
(
1
+
α
)
, whereas type II occurs for
κ
>
2
/
(
1
+
α
)
, where
κ
is the Ginzburg–Landau parameter. The transition at the passage from the ‘genuine’ to the ‘intermediate’ type-I estimates
0.767767
<
α
≤
1
.